Azure OPENAI cognitive service error running sample code

2023-05-19T07:27:13.66+00:00

Im trying to run the following Github Repo

https://github.com/Azure-Samples/azure-search-openai-demo

I was able to run the following commands without any errors:
Project Initialization

  1. Create a new folder and switch to it in the terminal
  2. Run azd auth login
  3. Run azd init -t azure-search-openai-demo

When I try to run he next step:

Run azd up - This will provision Azure resources and deploy this sample to those resources, including building the search index based on the files found in the ./data folder.

I am getting the following error:

ERROR: deployment failed: failing invoking action 'provision', 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 '0d10cfed-7d17-4c6f-84fa-5d5150be0965'. See inner errors for details.

SpecialFeatureOrQuotaIdRequired: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' .

TraceID: 8e91c1bbc07b70e2dbc204eeb96e16e2

I would appreciate it if someone can point me in the right direction to resolve this issue.

PS it is my first time posting on a forum like this so please let me know if I have failed to follow any best practices when posting a question!

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,541 questions
{count} votes