đCreate Azure OpenAI API Key
Last updated
Last updated
Go to https://portal.azure.com/#home, and click Create a resource.
Search for Azure OpenAI and select it.
Select plan and click Create.
Enter below information and click Next.
Configure your network preference and click Next.
Click Next.
Review and click Create.
It may take some minutes to deploy new resource.
When the resource has been deployed successfully, go back to https://portal.azure.com/#home and click on that resource.
On tab Overview, copy key, location/region and endpoint URL. You will need them later.
Switch to tab Model deployments and click Manage Deployments. You will be redirect to Azure OpenAI Studio.
Click Create new deployments.
Enter deployment model information and click Create. It may take some minutes to start a deployment.
Copy the deployment name.
Full endpoint URL has this format:
{your-endpoint}/openai/deployments/{deployment-id}/chat/completions?api-version={api-version}
where:
your-endpoint: is the endpoint copied from Step 2: Grab API key, location & endpoint URL
deployment-id: deployment name from Step 3: Create new deployment
api-version: use 2023-05-15 for now
For example: https://mindmac.openai.azure.com/openai/deployments/mindmac-gpt-35-turbo/chat/completions?api-version=2023-05-15.
Now use this full URL and the key from Step 2: Grab API key, location & endpoint URL to create new API endpoint in MindMac. More details at Add API key.