From a094c7e200bfc058f3c25c2d5ce14b3dc3df18b8 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 7 Feb 2025 19:33:55 -0800 Subject: [PATCH] Update azure.md --- docs/docs/customize/model-providers/top-level/azure.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/docs/customize/model-providers/top-level/azure.md b/docs/docs/customize/model-providers/top-level/azure.md index d51a10405..eec9150b0 100644 --- a/docs/docs/customize/model-providers/top-level/azure.md +++ b/docs/docs/customize/model-providers/top-level/azure.md @@ -22,7 +22,8 @@ We recommend configuring **GPT-4o** as your chat model. "model": "gpt-4o", "apiBase": "", "deployment": "", - "apiKey": "" // If you use subscription key, try using Azure gateway to rename it apiKey + "apiKey": "", // If you use subscription key, try using Azure gateway to rename it apiKey + "apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models }] ``` @@ -50,8 +51,8 @@ We recommend configuring **text-embedding-3-large** as your embeddings model. "model": "text-embedding-3-large", "apiBase": "", "deployment": "", - "apiType": "azure", - "apiKey": "" + "apiKey": "", + "apiType": "azure-foundry" // Or "azure-openai" if using OpenAI models } ``` @@ -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": "" + "apiKey": "", + "apiType": "azure-openai" } ```