Missing Authorization header #6385
-
I'm trying to get a basic example running. Everything works using Open AI but when I switch to Azure Open AI I receive an error.
I've deployed a Phi-3-mini-4k-instruct model is Azure AI Studio. I can use the model within AI Studio. And I can create a simple console app using the suggested code within AI Studio. But when I try to use the model with Semantic Kernel I receive the 400 response above.
What am I doing wrong? Is it because I'm using a Phi model? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Currently we are in works of providing a specific Connector for Model-as-a-Service deployments in Azure AI Studio. |
Beta Was this translation helpful? Give feedback.
-
Any clues when this will be finished? |
Beta Was this translation helpful? Give feedback.
-
I have the same problem with .NET SemanticKernel 1.16.0. Model is hosted serverless with Azure KI Studio. Error: Microsoft.SemanticKernel.HttpOperationException: 'Service request failed. Content: |
Beta Was this translation helpful? Give feedback.
AddAzureOpenAIChatCompletion
is intended for only Azure OpenAI Studio Deployments.Using the Azure AI Studio will work only for OpenAI connector if the deployed model also supports the same ChatCompletion API as OpenAI, which seems the case for Phi-3.
Currently we are in works of providing a specific Connector for Model-as-a-Service deployments in Azure AI Studio.