Skip to content

Support for Azure Open AI? #180

Answered by bracesproul
nicoyoung-AS asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bracesproul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants