generative_ai_with_langchain
generative_ai_with_langchain copied to clipboard
Replace deprecated models
The following models have been deprecated on January 4th by OpenAI:
- text-ada-001
- text-babbage-001
- text-curie-001
- text-davinci-001
- text-davinci-002
- text-davinci-003
- davinci-instruct-beta
- curie-instruct-beta
- code-search-ada-code-001
- code-search-ada-text-001
- code-search-babbage-code-001
- code-search-babbage-text-001
- text-search-ada-doc-001
- text-search-ada-query-001
- text-search-babbage-doc-001
- text-search-babbage-query-001
- text-search-curie-doc-001
- text-search-curie-query-001
- text-search-davinci-doc-001
- text-search-davinci-query-001
- text-similarity-ada-001
- text-similarity-babbage-001
- text-similarity-curie-001
- text-similarity-davinci-001
- text-davinci-edit-001
- code-davinci-edit-001
- text-davinci-insert-001
- text-davinci-insert-002
If any of these models are mentioned in the code, they should be replaced by models that are still available.