#refactor: Update config.example.toml with blur AZURE_OPENAI

This commit is contained in:
Aria F 2025-03-07 21:00:22 +08:00 committed by GitHub
parent ecac3382ec
commit d9e6e9a8e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,14 +6,14 @@ api_key = "sk-..."
max_tokens = 4096 max_tokens = 4096
temperature = 0.0 temperature = 0.0
[llm] #AZURE OPENAI: # [llm] #AZURE OPENAI:
api_type= 'azure' # api_type= 'azure'
model = "YOUR_MODEL_NAME" #"gpt-4o-mini" # model = "YOUR_MODEL_NAME" #"gpt-4o-mini"
base_url = "{YOUR_AZURE_ENDPOINT.rstrip('/')}/openai/deployments/{AZURE_DEPOLYMENT_ID}" # base_url = "{YOUR_AZURE_ENDPOINT.rstrip('/')}/openai/deployments/{AZURE_DEPOLYMENT_ID}"
api_key = "AZURE API KEY" # api_key = "AZURE API KEY"
max_tokens = 8096 # max_tokens = 8096
temperature = 0.0 # temperature = 0.0
api_version="AZURE API VERSION" #"2024-08-01-preview" # api_version="AZURE API VERSION" #"2024-08-01-preview"
# Optional configuration for specific LLM models # Optional configuration for specific LLM models
[llm.vision] [llm.vision]