From 49fb11e205cd2ebc920a3cf3126f01b39afe852c Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 22 Nov 2025 00:19:23 +0800 Subject: [PATCH] Update Azure OpenAI configuration examples --- env.example | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/env.example b/env.example index 26b4f56e..325ba69c 100644 --- a/env.example +++ b/env.example @@ -183,9 +183,13 @@ LLM_MODEL=gpt-4o LLM_BINDING_HOST=https://api.openai.com/v1 LLM_BINDING_API_KEY=your_api_key -### Env vars for Azure openai +### Azure OpenAI example +# LLM_BINDING=azure_openai +# LLM_BINDING_HOST=https://xxxx.openai.azure.com/ +# LLM_BINDING_API_KEY=your_api_key +### Use deployment name as model name or set AZURE_OPENAI_DEPLOYMENT istead +# LLM_MODEL=gpt-5-mini # AZURE_OPENAI_API_VERSION=2024-08-01-preview -# AZURE_OPENAI_DEPLOYMENT=gpt-4o ### Openrouter example # LLM_MODEL=google/gemini-2.5-flash @@ -273,11 +277,14 @@ EMBEDDING_TOKEN_LIMIT=8192 EMBEDDING_BINDING_HOST=https://api.openai.com/v1 EMBEDDING_BINDING_API_KEY=your_api_key -### Optional for Azure -# AZURE_EMBEDDING_DEPLOYMENT=text-embedding-3-large -# AZURE_EMBEDDING_API_VERSION=2023-05-15 -# AZURE_EMBEDDING_ENDPOINT=your_endpoint +### Optional for Azure embedding +# EMBEDDING_BINDING=azure_openai +# EMBEDDING_BINDING_HOST=https://xxxx.openai.azure.com/ # AZURE_EMBEDDING_API_KEY=your_api_key +# AZURE_EMBEDDING_API_VERSION=2024-08-01-preview +# Use deployment name as model name or set AZURE_EMBEDDING_DEPLOYMENT istead +# AZURE_EMBEDDING_DEPLOYMENT=text-embedding-3-large +# EMBEDDING_DIM=3072 ### Gemini embedding # EMBEDDING_BINDING=gemini