azure-search-openai-demo
azure-search-openai-demo copied to clipboard
InvalidResourceProperties: The specified SKU 'Standard' for model 'gpt-4o 2024-05-13' is not supported in this region 'francecentral'.
Please provide us with the following information:
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Deploying the app with gpt4o vision optional feature
Any log messages given by the failure
Packaging services (azd package)
(✓) Done: Packaging service backend
- Package Output: /tmp/azure-search-openai-demo-backend-azddeploy-1xxx.zip Checking if authentication should be setup... Loading azd .env file from current environment... AZURE_USE_AUTHENTICATION is set, proceeding with authentication setup... Creating Python virtual environment "app/backend/.venv"... Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)... Not setting up authentication.
Provisioning Azure resources (azd provision) Provisioning Azure resources can take some time.
Subscription: xxxx (xxxx) Location: West Europe
You can view detailed progress in the Azure Portal: https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%xxxx
(✓) Done: Resource group: rg-xxxx (✓) Done: Cognitive Service: cog-cv-xxxx (✓) Done: Log Analytics workspace: log-xxxx (✓) Done: App Service plan: plan-xxxx (✓) Done: Storage account: stxxxx (✓) Done: Search service: gptkb-xxxx (✓) Done: Document Intelligence: cog-di-xxxx (✓) Done: Application Insights: appi-xxxx (✓) Done: Portal dashboard: dash-xxxx |=======| Creating/Updating resources ERROR: error executing step command 'provision': deployment failed: 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 'xxxxx'. See inner errors for details. InvalidResourceProperties: The specified SKU 'Standard' for model 'gpt-4o 2024-05-13' is not supported in this region 'francecentral'.
TraceID: xxxx
Expected/desired behavior
Deployment succeed despite the OpenAI service location.
OS and Version?
Windows 10
azd version?
run
azd versionand copy paste here.
Versions
azd version 1.9.5
Mention any other details that might be useful
Should we consider replacing the SKU standard with the global standard as the default option to resolve the issue?
Thanks! We'll be in touch soon.