The entire procedure takes about 5 minutes and involves creating an Azure account,
setting up the Azure OpenAI service, deploying models, and configuring big-AGI
to access these models.
Please note that Azure operates on a 'pay-as-you-go' pricing model and requires
credit card information tied to a 'subscription' to the Azure service.
Configuring big-AGI
If you have an API Endpoint and API Key, you can configure big-AGI as follows:
Enter the API Key (e.g., 'fd5...........................ba')
The deployed models are now available in the application. If you don't have a configured
Azure OpenAI service instance, continue with the next section.
In addition to using the UI, configuration can also be done using
environment variables.
Server Configuration
For server deployments, set these environment variables:
Fill in the necessary fields on the Create OpenAI page
Select the subscription
Select a resource group or create a new one
Select the region. Important: The region determines which models are available.
Popular regions like East US, West Europe, and Australia East typically have the best model availability. For the latest model availability by region, see Azure OpenAI Model Availability
Name the service (e.g., your-openai-api-1234)
Select a pricing tier (e.g., S0 for standard)
Select: "All networks, including the internet, can access this resource."
Click on Review + create and then Create
After creating the resource, you can access the API Keys and Endpoints:
Click on Go to resource (or navigate to your Azure OpenAI resource)
In the left sidebar, under Resource Management, click on Keys and Endpoint