Support for Azure Open AI? #180
Answered
by
bracesproul
nicoyoung-AS
asked this question in
Q&A
-
Hello, anyone have tips for transitioning all models to Azure Open AI and Azure AI studio based models? |
Beta Was this translation helpful? Give feedback.
Answered by
bracesproul
Dec 30, 2024
Replies: 1 comment
-
Hey @nicoyoung-AS, we've added support for using Azure OpenAI! To use Azure OpenAI instead of the OpenAI API, set these environment variables (note the prefixing underscore for Azure API keys is required): # Required for the Azure models to appear in the model dropdown
NEXT_PUBLIC_AZURE_ENABLED="true"
# Env variables for calling the Azure OpenAI API
_AZURE_OPENAI_API_KEY=your-azure-openai-api-key
_AZURE_OPENAI_API_INSTANCE_NAME=your-instance-name
_AZURE_OPENAI_API_DEPLOYMENT_NAME=your-deployment-name
_AZURE_OPENAI_API_VERSION=2024-08-01-preview |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bracesproul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @nicoyoung-AS, we've added support for using Azure OpenAI!
To use Azure OpenAI instead of the OpenAI API, set these environment variables (note the prefixing underscore for Azure API keys is required):