How to use the Public OpenAI API for Cognitive Search/Chat GPT Demo?

Siegfried Heintze 1,861 Reputation points

I apologize if this is a duplicate. I posted this once already and got an error and now I cannot find my post.

As per I am trying to follow these instructions:

Since I don't have the required account or required acceptance criteria to get a the required account, it looks like I'll have to use the OpenAI instead of azure OpenAI. Shucks!

So it ( says I can "learn how to switch to an OpenAI instance" but the link just takes me to top of the page. Can someone guide me to the instructions for running the demo with an Open AI instance?



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

Accepted answer
  1. SnehaAgrawal-MSFT 20,471 Reputation points

    @Siegfried Heintze Thanks for reaching here!

    While OpenAI and Azure OpenAI Service rely on a common Python client library, there are small changes you need to make to your code in order to swap back and forth between endpoints.

    Here is a link to a Microsoft Learn article that explains how to switch between OpenAI and Azure OpenAI endpoints with Python. It provides detailed instructions on how to authenticate, use the appropriate API key, and make the necessary changes to your code to work across OpenAI and Azure OpenAI.

    I hope this helps!

    Additionally, I will reach out to content team for the doc bug.

    Let us know if you have further questions.

0 additional answers

Sort by: Most helpful