Update Azure OpenAI configuration examples

This commit is contained in:
yangdx 2025-11-22 00:19:23 +08:00
parent 7b76211066
commit 49fb11e205

View file

@ -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