Why use Azure OpenAI
By far the most requested model integration has been Azure OpenAI. As of Aug 2023, GPT-4 is the most capable LLM available. When combined with the Enterprise grade security and geographical deployment options of Azure, this becomes a very attractive option for using with Danswer.Set up Azure OpenAI Endpoint
As of Aug 2023, Azure OpenAI access is by application only. This may change moving forward, please check online for the latest information. Start by creating the Azure OpenAI Resource- Search for
Azure OpenAI
service - Click on +Create to create a new Azure OpenAI resource

Getting the Model Endpoint Info
Once the resource is created, visit it in Azure OpenAI Studio Select Chat


Configuring Danswer to use Azure OpenAI Endpoint
Following the image above, you would configure Danswer with the following environment variables:GEN_AI_API_KEY
unset and set it later via the UI