Skip to content

Commit

Permalink
Update azure.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Erichsen committed Feb 8, 2025
1 parent 638969b commit a094c7e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/docs/customize/model-providers/top-level/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ We recommend configuring **GPT-4o** as your chat model.
"model": "gpt-4o",
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
"deployment": "<YOUR_DEPLOYMENT_NAME>",
"apiKey": "<MY_API_KEY>" // If you use subscription key, try using Azure gateway to rename it apiKey
"apiKey": "<MY_API_KEY>", // If you use subscription key, try using Azure gateway to rename it apiKey
"apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
}]
```

Expand Down Expand Up @@ -50,8 +51,8 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
"model": "text-embedding-3-large",
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
"deployment": "<YOUR_DEPLOYMENT_NAME>",
"apiType": "azure",
"apiKey": "<MY_API_KEY>"
"apiKey": "<MY_API_KEY>",
"apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models
}
```

Expand Down Expand Up @@ -85,6 +86,7 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de
"apiBase": "https://just-an-example.openai.azure.com",
"deployment": "gpt-4o-july",
"apiVersion": "2023-03-15-preview",
"apiKey": "<MY_API_KEY>"
"apiKey": "<MY_API_KEY>",
"apiType": "azure-openai"
}
```

0 comments on commit a094c7e

Please sign in to comment.