Create an Azure AI Foundry resource in the Azure Portal
config.yaml

Azure OpenAI Service (Alternative)

Get access to the Azure OpenAI service here
Azure OpenAI Service requires a handful of additional parameters to be configured, such as a deployment name and API base URL. To find this information in Azure AI Foundry, first select the model that you would like to connect. Then visit Endpoint > Target URI. For example, a Target URI of https://just-an-example.openai.azure.com/openai/deployments/gpt-4o-july/chat/completions?api-version=2023-03-15-preview would map to the following:
config.yaml