Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
6.15k stars 4.18k forks source link

Error: Subdomain does not map to a resource #294

Open ApurvaL opened 1 year ago

ApurvaL commented 1 year ago
image

Getting this error post running Start.ps1 file.

namratam30 commented 1 year ago

I am also facing this issue suddenly. Earlier the application was working file

pamelafox commented 1 year ago

Check the subdomain of your OpenAI resource in the Portal and confirm it matches what you've set in your env variables. The Bicep files setup the subdomain here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/c8b8486d68527026b0660a3a75cc4e5e376793c1/infra/core/ai/cognitiveservices.bicep#L19

But if you're deploying without using azd/Bicep, it's possible you reset the subdomain to something else.

github-actions[bot] commented 10 months ago

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.