Avinash Raj
Avinash Raj
@dmyoung9 endup with the following exception.. ``` openai.error.InvalidRequestError: 'Question' is not one of ['system', 'assistant', 'user', 'function'] - 'messages.3.role' ```
Just set langchain.versobe to True. ``` import langchain langchain.verbose = True call_function() ``` This should print the prompt before submitting.
This happens mostly on apple silicon machines. Fixed it by, bash /Applications/Python*/Install\ Certificates.command https://stackoverflow.com/a/76519628/3297613
@mattpulver Guess now you can un-draft this PR.