Fix Azure configuration examples and correct typos in env.example

This commit is contained in:
yangdx 2025-11-22 09:05:52 +08:00
parent fa6797f246
commit 5f53de8866

View file

@ -184,12 +184,12 @@ LLM_BINDING_HOST=https://api.openai.com/v1
LLM_BINDING_API_KEY=your_api_key LLM_BINDING_API_KEY=your_api_key
### Azure OpenAI example ### Azure OpenAI example
### Use deployment name as model name or set AZURE_OPENAI_DEPLOYMENT istead ### Use deployment name as model name or set AZURE_OPENAI_DEPLOYMENT instead
# AZURE_OPENAI_API_VERSION=2024-08-01-preview # AZURE_OPENAI_API_VERSION=2024-08-01-preview
# LLM_BINDING=azure_openai # LLM_BINDING=azure_openai
# LLM_BINDING_HOST=https://xxxx.openai.azure.com/ # LLM_BINDING_HOST=https://xxxx.openai.azure.com/
# LLM_BINDING_API_KEY=your_api_key # LLM_BINDING_API_KEY=your_api_key
# LLM_MODEL=gpt-5-mini # LLM_MODEL=my-gpt-mini-deployment
### Openrouter example ### Openrouter example
# LLM_MODEL=google/gemini-2.5-flash # LLM_MODEL=google/gemini-2.5-flash
@ -278,12 +278,12 @@ EMBEDDING_BINDING_HOST=https://api.openai.com/v1
EMBEDDING_BINDING_API_KEY=your_api_key EMBEDDING_BINDING_API_KEY=your_api_key
### Optional for Azure embedding ### Optional for Azure embedding
### Use deployment name as model name or set AZURE_EMBEDDING_DEPLOYMENT istead ### Use deployment name as model name or set AZURE_EMBEDDING_DEPLOYMENT instead
# AZURE_EMBEDDING_DEPLOYMENT=text-embedding-3-large # AZURE_EMBEDDING_API_VERSION=2024-08-01-preview
# EMBEDDING_BINDING=azure_openai # EMBEDDING_BINDING=azure_openai
# EMBEDDING_BINDING_HOST=https://xxxx.openai.azure.com/ # EMBEDDING_BINDING_HOST=https://xxxx.openai.azure.com/
# AZURE_EMBEDDING_API_KEY=your_api_key # EMBEDDING_API_KEY=your_api_key
# AZURE_EMBEDDING_API_VERSION=2024-08-01-preview # EMBEDDING_MODEL==my-text-embedding-3-large-deployment
# EMBEDDING_DIM=3072 # EMBEDDING_DIM=3072
### Gemini embedding ### Gemini embedding