Unable to add data in Azure OpenAI Chat Playground

Arun Adiththan 5 Reputation points
2023-06-29T19:22:17.4266667+00:00

I am following the tutorial https://learn.microsoft.com/en-us/azure/cognitive-services/openai/use-your-data-quickstart?tabs=command-line&pivots=programming-language-studio to add my own data in Azure OpenAI Chat Playground. I have successfully created both Azure Blob Storage and Cognitive Search resources and configured CORS rules for the storage resource. However, even after configuring the CORS rules, I am still unable to add data as I receive a message asking me to Turn on CORS. When I click on the message, nothing happens. Please refer to the attached screenshot AzureOpenAI-AddData.png. Can someone please help me solve this issue?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,621 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,521 Reputation points Microsoft Employee
    2023-06-30T07:27:01.5466667+00:00

    @Arun Adiththan I think it is most likely that the required permissions are not available for the user to set CORS on the account that you have selected. You can try to manually set CORS on the storage account from Azure portal and then try to use the account. Navigate to the storage account and set the following permissions on CORS as seen in screen shot and allow all origins & headers by keying in *.

    User's image

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.