Hi! I tried to update My application for text-davinci-003 to gpt-3.5-turbo but didn’t not work.
I replaced the old model “text-davinci-003”
To model “gpt-3.5-turbo”
Hi! I tried to update My application for text-davinci-003 to gpt-3.5-turbo but didn’t not work.
I replaced the old model “text-davinci-003”
To model “gpt-3.5-turbo”
You must also change the API method to chat
and modify your params to the API.
HTH
Thanks for answer. I tried it but I get ERROR: module openai has no attribute ‘chatcompletiin’
LOL
I have no idea where you came up with chatcompletiin
Did you read the API doc on the chat
method ?
Everything you need is there, @flagship.gold21
Hope this helps!
You probably need to update the openai library you are using as well
The end point is different, and most of the libraries (eg the python one) are being updated to use the new endpoints