You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by mikheladam October 23, 2023
Greetings!
I am a beginner exploring AI so my technical skills are still in development. I have some problem running the openai.ipynb and the chatssm example. For the openai.ipynb, I've set my API key but when i try to run it, I get an error. Below is the code and corresponding error.
Code:
ssm.discuss("Remember, my name is CTN. I am a chatbot."), I get this error
Error:
InvalidRequestError: Must provide an 'engine' or 'model' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>
I'm not sure where to put the parameter mentioned in the error.
Another error I'm getting is when I run the chatssm example and try to enter a prompt, I get the following reply:
"SYSTEM: HTTP error status: 500"
I can't find anything in the documentation that may help solve these. Apologies if these are very basic questions or if I've missed an important obvious step. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
This appears to be an outdated example, @TheVinhLuong102 .
Discussed in #25
Originally posted by mikheladam October 23, 2023
Greetings!
I am a beginner exploring AI so my technical skills are still in development. I have some problem running the openai.ipynb and the chatssm example. For the openai.ipynb, I've set my API key but when i try to run it, I get an error. Below is the code and corresponding error.
Code:
ssm.discuss("Remember, my name is CTN. I am a chatbot."), I get this error
Error:
InvalidRequestError: Must provide an 'engine' or 'model' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>
I'm not sure where to put the parameter mentioned in the error.
Another error I'm getting is when I run the chatssm example and try to enter a prompt, I get the following reply:
"SYSTEM: HTTP error status: 500"
I can't find anything in the documentation that may help solve these. Apologies if these are very basic questions or if I've missed an important obvious step. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: