-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using GPT plugin with Azure AI API #128
Comments
How to use Azure AI API in this plugin is also a question that I care about very much. I hope someone can provide a good solution. |
I encountered the same issue. |
Hi @r0mdau do you use LiteLLM Proxy ? Can we hop on a call to learn how you use litellm Link to my cal for your convenience: https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat?month=2024-02 |
I am trying to use the plugin with an Azure AI API endpoint rather then the OpenAI endpoint. There seems to be a couple of key differences that makes this not work:
api-key
rather thanBearer
for the request.api-version
must be specifiedPOST https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/completions?api-version={api-version}
More info here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
Would it be hard to add a toggle for Azure vs OpenAI API?
The text was updated successfully, but these errors were encountered: