A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
MIT License
612
stars
401
forks
source link
westeurope not allowed for openAiResourceGroupLocation #241
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
azd init -t azure-search-openai-demo-csharp
azd up
select subscription: My internal subscription with openai access
select location: westeurope, closest with openai presence
RESPONSE 400: 400 Bad Request
ERROR CODE: InvalidTemplate
{
"error": {
"code": "InvalidTemplate",
"message": "Deployment template validation failed: 'The provided value for the template parameter 'openAiResourceGroupLocation' is not valid. The value 'westeurope' is not part of the allowed value(s): 'canadaeast,eastus,eastus2,francecentral,switzerlandnorth,uksouth,japaneast,northcentralus'.'.",
"additionalInfo": [
{
"type": "TemplateViolation",
"info": {
"lineNumber": 1,
"linePosition": 1353,
"path": "properties.template.parameters.openAiResourceGroupLocation.allowedValues"
}
}
]
}
}
TraceID: f1cced339653b6f0b3c36d2e5bb3c24f
Expected/desired behavior
I think this validation is incorrect: The value should be allowed, so the template should be updated?
If the template is correct and the value should indeed not be allowed, please explain why to the user.
Ideally azd should only accept regions that are allowed by the template, with explanation.
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 23H2 (22631.2715), WSL2 Ubuntu 22.04.3
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
TraceID: f1cced339653b6f0b3c36d2e5bb3c24f
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful