Closed jimkleban closed 3 months ago
Sorry to hear this has negatively affected you - are you aware that these models will be removed on 4 Jan? Could you use version 5.2 of ruby-openai until then?
Based on that deprecation doc it appears that some old models were deprecated and a new one is available (ie. gpt-3.5-turbo-instruct
).
The new model is still compatible with completions endpoint which is not deprecated (yet): https://platform.openai.com/docs/models/gpt-3-5
gpt-3.5-turbo-instruct: Similar capabilities as text-davinci-003 but compatible with legacy Completions endpoint and not Chat Completions.
I would also request maintaining support for the completions endpoint while there are still non-deprecated models available for it.
Yes, thanks I am using 5.2 and my request for completions API is for gpt-3.5-turbo-instruct
Agreed. It's not possible to use gpt-3.5-turbo-instruct without the completions endpoint. Please re-add completions!
Will try to re-add this weekend.
@alexrudall request you to merge my PR resolving this issue https://github.com/alexrudall/ruby-openai/pull/444
Apologies for the delay, added back in v6.5
Is your feature request related to a problem? Please describe. Yes, deprecated models such as text-davinci-003 and not deprecated models such as gpt-3.5-turbo-instruct are compatible with legacy Completions endpoint and not Chat Completions.
Request is to re-add completions until there are no longer any supported models that use these.
Describe the solution you'd like Re-add completions as it was.
Describe alternatives you've considered Not using this gem :(