diff --git a/docs/docs/customize/model-providers/top-level/azure.mdx b/docs/docs/customize/model-providers/top-level/azure.mdx
index 7b14aff05..c8403b5ed 100644
--- a/docs/docs/customize/model-providers/top-level/azure.mdx
+++ b/docs/docs/customize/model-providers/top-level/azure.mdx
@@ -19,20 +19,20 @@ For details on OpenAI model setup, see [Azure OpenAI Service configuration](#azu
We recommend configuring **GPT-4o** as your chat model.
-
- ```yaml title="config.yaml"
- models:
- - name: GPT-4o
- provider: azure
- model: gpt-4o
- apiBase:
- apiKey: # If you use subscription key, try using Azure gateway to rename it apiKey
+
+ ```yaml title="config.yaml"
+ models:
+ - name: GPT-4o
+ provider: azure
+ model: gpt-4o
+ apiBase:
+ apiKey: # If you use subscription key, try using Azure gateway to rename it apiKey
env:
- deployment:
+ deployment:
apiType: azure-foundry # Or "azure-openai" if using OpenAI models
- ```
-
-
+ ```
+
+
```json title="config.json"
{
"models": [{
@@ -46,7 +46,7 @@ We recommend configuring **GPT-4o** as your chat model.
}]
}
```
-
+
## Autocomplete model
@@ -54,18 +54,18 @@ We recommend configuring **GPT-4o** as your chat model.
We recommend configuring **Codestral** as your autocomplete model.
-
- ```yaml title="Package or config.yaml"
+
+ ```yaml title="Package or config.yaml"
models:
- name: Codestral
provider: mistral
model: codestral-latest
roles:
- autocomplete
- ```
-
-
- ```json title="config.json"
+ ```
+
+
+ ```json title="config.json"
{
"tabAutocompleteModel": {
"title": "Codestral",
@@ -73,8 +73,8 @@ We recommend configuring **Codestral** as your autocomplete model.
"model": "codestral-latest"
}
}
- ```
-
+ ```
+
## Embeddings model
@@ -134,7 +134,7 @@ To find this information in _Azure AI Foundry_, first select the model that you
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:
-
+
```yaml title="Package or config.yaml"
models:
- name: GPT-4o Azure
@@ -147,8 +147,8 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de
deployment: gpt-4o-july
apiType: azure-openai
```
-
-
+
+
```json title="config.json"
{
"title": "GPT-4o Azure",
@@ -161,5 +161,5 @@ For example, a Target URI of `https://just-an-example.openai.azure.com/openai/de
"apiType": "azure-openai"
}
```
-
+