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
5.63k stars 3.77k forks source link

InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure #110

Open stevenbaert opened 1 year ago

stevenbaert commented 1 year ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [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

Run deploy

Any log messages given by the failure

Everything works fine till provisioning.

ERROR: deployment failed: error deploying infrastructure: failed deploying: deploying to subscription:

Deployment Error Details: InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '089359ac-415c-4527-84d7-386e0d141d37'. See inner errors for details. SpecialFeatureOrQuotaIdRequired: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI'

Expected/desired behavior

OS and Version?

Windows 10

Versions

Mention any other details that might be useful

Region is East-US, though I'm in West-Europe (but that is a prereq). Found an article that I should/could change the template to SKU 1 instead of S0. Found that in template, but template is read-only(?)


Thanks! We'll be in touch soon.

adarshpunj commented 1 year ago

@stevenbaert you were able to resolve this?

stevenbaert commented 1 year ago

Yes, it was some kind of approval Microsoft support had to give. They didn't clarify what exactly this approval contained.

chengyuliu-msft commented 1 year ago

Hi @stevenbaert, I am having the same issue. How did you resolve it ? Could you provide some steps ?

stevenbaert commented 1 year ago

Make a Microsoft case. They solved it changing rights in the backend. Don't have details what was changed.

Op ma 24 apr. 2023 23:45 schreef chengyuliu-msft @.***>:

Hi @stevenbaert https://github.com/stevenbaert, I am having the same issue. How did you resolve it ? Could you provide some steps ?

— Reply to this email directly, view it on GitHub https://github.com/Azure-Samples/azure-search-openai-demo/issues/110#issuecomment-1520871550, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLVNN2AZNMZBXRSXWEL6RLXC3YBFANCNFSM6AAAAAAW32XFNU . You are receiving this because you were mentioned.Message ID: @.***>

FunkyDialUpDude commented 1 year ago

I have the same issue...

Did you resolve the issue by requesting access here?

https://customervoice.microsoft.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7en2Ais5pxKtso_Pz4b1_xUOFA5Qk1UWDRBMjg0WFhPMkIzTzhKQ1dWNyQlQCN0PWcu

TimoRiikonen commented 1 year ago

Here is another thread of the same issue: https://learn.microsoft.com/en-us/answers/questions/1287628/azure-openai-cognitive-service-error-running-sampl

This form didn't help on my case, but it could be because we have more than one user.

KonTheCat commented 1 year ago

I had the same and was able to resolve by deleting one of the OpenAI service resources and purging it from the deleted section.

jbouder commented 1 year ago

@KonTheCat, how did you go about purging? Not sure where this "deleted" section is in this context

KonTheCat commented 1 year ago

image That should do.

nirmalpatil commented 1 year ago

I deleted all the open AI resources. Purged it as well but still the same error

KonTheCat commented 1 year ago

I have seen other threads like this end well after requests to Microsoft for more quota. You may also do well out of trying a different region if that is an option for you, this quota looks regional.

github-actions[bot] commented 6 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.