microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
MIT License
1.66k stars 2.64k forks source link

'code': 400, 'message': 'This feature is gated, Please contact AOAI On Your Data team to whitelist the subscription. #1094

Open slangenhuizen opened 2 months ago

slangenhuizen commented 2 months ago

I set up my files to just be a chatbot with no grounding data initially. This worked both locally and after deploying to a web app. After this, I added the Azure SQL Server variables to my env file to hopefully chat with my own data that is living in an azure sql database:

DATASOURCE_TYPE=AzureSqlServer AZURE_SQL_SERVER_CONNECTION_STRING= AZURE_SQL_SERVER_TABLE_SCHEMA=

Now, when I try to run the code locally, the UI works as expected, but once I submit a request, I get this error: 'code': 400, 'message': 'This feature is gated, Please contact AOAI On Your Data team to whitelist the subscription.

Why do I receive this error or where can I request this change to my subscription noted in the error message?

tom600x commented 2 weeks ago

I am also getting the above error message when trying to chat off of my Azure SQL database. Who should we contact to whitelist my subscription?