azure-openai-samples
azure-openai-samples copied to clipboard
Updates needed due to retirement of older models
According to this announcement, some of the Azure OpenAI Service Models are set to be retired/replaced. For new Azure OpenAI Service deployments, the retiring models are no longer available.
https://techcommunity.microsoft.com/t5/azure-ai-services-blog/announcing-updates-to-azure-openai-service-models/ba-p/3866757
The older models are referenced in the .env.sample and an example of where these could be updated in a notebook is here: https://github.com/Azure/azure-openai-samples/blob/main/fundamentals/langchain/01_query_based_search_with_cognitive_search.ipynb
A workaround until the variables can be merged might be to set the .env variables (FYI haven't tested this).
from:
DOCUMENT_MODEL_NAME=curie-search-doc
QUERY_MODEL_NAME=curie-query-doc
DEPLOYMENT_NAME=text-davinci-003
COMPLETIONS_MODEL=text-davinci-002
to
DOCUMENT_MODEL_NAME=text-embedding-ada-002
QUERY_MODEL_NAME=text-embedding-ada-002
DEPLOYMENT_NAME=gpt-35-turbo-instruct
COMPLETIONS_MODEL=gpt-35-turbo-instruct