How to Run OpenAI demo with OpenAI instead of Azure OpenAI?

Siegfried Heintze 1,861 Reputation points
2023-12-05T04:02:19.8366667+00:00

As per https://www.youtube.com/watch?v=KG0xpstQAfk I'm trying to follow the setup tutorial: https://github.com/Azure-Samples/azure-search-openai-demo#deploying-from-scratch

After typing "azd up" I get this error:

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

OK, I go to https://github.com/Azure-Samples/azure-search-openai-demo#azure-account-requirements:

Apparently I don't think I have the right kind of email account to get that feature added to my subscription. However, it says I can use the OpenAI public API. Where are the instructions for this? when I click on the link for "Learn how to switch to OpenAI instance" it just takes me to the top of the README.md. Looks like a broken link.

Can someone guide me to reproduce the demo in the youtube video using the public API?

Thanks

Siegfried

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
831 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,538 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 24,396 Reputation points Microsoft Employee
    2023-12-07T02:42:55.2566667+00:00

    The GitHub sample is referencing to this public OpenAI doc URL: https://platform.openai.com/docs/api-reference/introduction - for "Learn how to switch to OpenAI instance".

    I have a raised an issue on the GitHub directly for author to fix :

    You may track it here: https://github.com/Azure-Samples/azure-search-openai-demo/issues/1039

    For your reference, also please check these docs:

    Get up and running with the OpenAI API
    Open AI | api-reference?lang=python

    I understand you have mentioned about the right email prerequisite, just to highlight, you need to receive confirmation that your subscription for the Open AI service was enabled after submitting the registration form.

    As for the error message: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature - Just to highlight, you have to chose the right region for deployment in the script that was approved (location that you selected' in the registration form). For example: As kylgrn mentioned ensure that you are not attempting to provision in EastUS2 when you chose EastUS in the form.

    Ref: Limited access to Azure OpenAI Service and GitHub discussion