azure-search-openai-demo: Creating account deployment is not supported by the model 'text-davinci-003'
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '198cc047-82d3-482a-9e67-4083cebb5cbd'. See inner errors for details.
DeploymentModelNotSupported: Creating account deployment is not supported by the model 'text-davinci-003'. This is usually because there are better models available for similar functionality.
I got the above error while trying to redeploy my application. I have not changed anything since the last deployment; I only add new documents to the data and want to redeploy.
I try changing to GPT-4, but I did not get the error; got an error relating to the versioning.
Is anyone else seeing the error? What is the workaround for this?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (1 by maintainers)
Within the Azure portal, navigate to the OpenAI resource that was deployed as part of this sample code. From the left hand blade navigate to Model Deployments > Management Deployments. Select ‘Deployments’ in the blade and then delete deployment with the name ‘davinci’ from the Deployment name column. If you have pulled the latest which includes https://github.com/Azure-Samples/azure-search-openai-demo/pull/389/files then you can re-run: azd up successfully.
@sarahsofia93, Specified version for gpt-35-turbo is not correct. Either 0301 or 0613 should be specified to version of gpt-35-turbo.
Another workaround for folks who already have the davinci model deployed:
@phosseini There is now an FAQ about using gpt4, that is permitted. This issue can be closed as I believe we’ve documented how to continue using davinci if you already have it, and the repo is now upgraded to work with gpt-35 instead of davinci.
I am facing same issue as well - CannotChangeDeploymentModel: The model of deployment cannot be changed.