Skip to main content

Microsoft Azure AI

Official website https://azure.microsoft.com/en-us/products/ai-services/openai-service

Microsoft Azure

To obtain the endpoint and the secret, you must deploy the model and then open it in Azure OpenAI Studio: Then select "View Code"

In this section, you can obtain the API key and the custom link. To display the full custom link, you must select CURL in the code selection and copy the endpoint.

  • Go to VSCode and choose Azure as Provider.
  • Set connection on 🔑 button.
  • Paste API Key here, and click on Connect:
Remove Key

If you want to remove your API Key from CodeGPT, select Edit Connection on 🔑, and click on Disconnect

Azure OpenAI Models available in Code GPT

  • gpt-4o
  • gpt-4
  • gpt-4-32k
  • gpt-35-turbo
  • gpt-35-turbo-16k

API Errors

If you are getting API errors check the following link: Microsoft Azure Documentation