Skip to main content

Azure Configuration

To give everyone using your instance of unSAGED access to OpenAI models hosted on Azure set the following environment variables.

Global Access Configuration

apps/web/.env.local
OPENAI_API_URL=the_url_of_your_azure_api
OPENAI_API_KEY=your_api_key
OPENAI_API_TYPE=azure

Advanced Configuration

See OpenAI Environment Variables for a full list of environment variables that can be set to configure OpenAI models, including the models accessed through Azure.