PullRequestInc / go-gpt3

An OpenAI GPT-3 API client enabling Go/Golang programs to interact with the gpt3 APIs.
MIT License
393 stars 65 forks source link

#42 Deprecation of TextDavinci003Engine Model #43

Open pradytpk opened 7 months ago

pradytpk commented 7 months ago

42

For the text completions of openai the following models are deprecated as of 2024-01-04

TextAda001Engine     = "text-ada-001"
TextBabbage001Engine = "text-babbage-001"
TextCurie001Engine   = "text-curie-001"
TextDavinci001Engine = "text-davinci-001"
TextDavinci002Engine = "text-davinci-002"
TextDavinci003Engine = "text-davinci-003"
AdaEngine            = "ada"
BabbageEngine        = "babbage"
CurieEngine          = "curie"
DavinciEngine        = "davinci"

Reference https://platform.openai.com/docs/deprecations/instructgpt-models https://platform.openai.com/docs/deprecations/fine-tuning-gpt-models

Currently supported model is

"gpt-3.5-turbo-instruct"
"babbage-002"
"davinci-002"
vishalvivekm commented 5 months ago

I also get same error

[404:invalid_request_error] The model `davinci` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations