Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,272 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Can I utilize the Bearer token instead of using the key from the Azure Open AI. If yes can you please share the sample.
@D-0887 Thanks for the question. Our current Azure OpenAI documentation indeed currently describes the use of API keys as per this example where you are expected to pass the API key through the header's "api-key" value.
However you will generate a Bearer token in Azure AD and pass it over to the same Azure OpenAI endpoint, but using slightly different header's key "Authorization", then you would be able to retrieve the same data.