OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Deprecation of text-davinci-003

Open Besarb opened this issue 1 year ago • 3 comments

Describe the bug When connecting to OpenAI API, the following error is shown APIErrorResponse(error: OpenAI.APIError(message: "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations", type: "invalid_request_error", param: nil, code: Optional("model_not_found"))). "text-davinci-003" is indeed deprecated since January 4th 2024, see https://platform.openai.com/docs/deprecations.

To Reproduce Try to connect to Open AI API using the latest version 0.2.5.

Besarb avatar Jan 09 '24 10:01 Besarb

I think we need to have gpt-3.5-turbo-instruct supported.

iamyoungjo avatar Jan 11 '24 07:01 iamyoungjo

Yep can confirm, please pass in the raw value until support is added https://github.com/MacPaw/OpenAI/issues/145#issuecomment-1925860639

SunburstEnzo avatar Feb 04 '24 17:02 SunburstEnzo

Options: https://github.com/MacPaw/OpenAI/pull/166 updates the model, adds a deprecation warning. https://github.com/MacPaw/OpenAI/pull/160 removes the model (due to frequent return of truncated responses; while the endpoint technically remains operational, i'm not sure what purposes it could still be useful for in its present state).

kalafus avatar Feb 07 '24 20:02 kalafus