azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Deployment Error Details: DuplicatedDeploymentForSameModel: The deployment 'chat' has the same model with an existing deployment 'Hodel-01'. Only 1 deployment is allowed for the same model.
Please provide us with the following information:
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Use existing resources:
I just followed below steps for Use existing resources sections:
- Run
azd env set AZURE_OPENAI_SERVICE {Name of existing OpenAI service} - Run
azd env set AZURE_OPENAI_RESOURCE_GROUP {Name of existing resource group that OpenAI service is provisioned to} - Run
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing ChatGPT deployment}. Only needed if your ChatGPT deployment is not the default 'chat'. - Run
azd env set AZURE_OPENAI_GPT_DEPLOYMENT {Name of existing GPT deployment}. Only needed if your ChatGPT deployment is not the default 'davinci'. - Run
azd up
Any log messages given by the failure
ERROR: deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details: DuplicatedDeploymentForSameModel: The deployment 'chat' has the same model with an existing deployment 'Hodel-01'. Only 1 deployment is allowed for the same model.
Expected/desired behavior
the deployment will use the AZURE_OPENAI_CHATGPT_DEPLOYMENT parameters I set by running azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT Hodel-01. not trying to create a new gpt 3.5 model against current OpenAI, it will fail.
OS and Version?
Windows 11
Versions
Mention any other details that might be useful
so the issue is that the deplyment doesn't use the Hodel-01 I already set for AZURE_OPENAI_CHATGPT_DEPLOYMENT, it try to create a new one, which is not allowed by current Azure OpenAI policy. how to fix it? thanks.
Thanks! We'll be in touch soon.
having the same issue I use the parameters but it keeps trying to set up a new instance
Same issue here. Is there a different configuration to use an already deployed model?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.