diff --git a/docs/docs/customize/model-providers/top-level/azure.md b/docs/docs/customize/model-providers/top-level/azure.md index 2c511a279..295b7cdc8 100644 --- a/docs/docs/customize/model-providers/top-level/azure.md +++ b/docs/docs/customize/model-providers/top-level/azure.md @@ -15,7 +15,7 @@ We recommend configuring **GPT-4o** as your chat model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -32,7 +32,7 @@ We recommend configuring **Codestral** as your autocomplete model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -48,7 +48,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -75,9 +75,17 @@ Azure OpenAI requires a handful of additional parameters to be configured, such To find this information in _Azure AI Studio_, first select the model that you would like to connect. Then visit _Endpoint_ > _Target URI_. -For example, a Target URI of `` would map to the following: +For example, a Target URI of `` would map to the following: -- model = gpt-4o -- engine = gpt-4o -- apiVersion = 2023-13-15-preview -- apiBase = just-an-example.openai.azure.com +```json +{ + "title": "GPT-4o Azure", + "model": "gpt-4o", + "provider": "azure", + "apiBase": "https://just-an-example.openai.azure.com", + "apiType": "azure", + "engine": "gpt-4o", + "apiVersion": "2023-03-15-preview", + "apiKey": "" +} +```