-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathconfig.example.yml
32 lines (30 loc) · 992 Bytes
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
models:
- provider_name: "openai"
api_type: "openai"
params:
api_key: "sk-xxxx"
allow_model_patterns:
- "gpt-\\d+" # Matches any model name that starts with "gpt-" followed by one or more digits
- "o1" # Matches the model name "o1"
- provider_name: "anthropic"
api_type: "anthropic"
params:
api_key: "sk-ant-xxx"
- provider_name: "Google Gemini"
api_type: "gemini"
params:
api_key: "xxxxxx"
allow_model_patterns:
- "^.*-latest$"
- "^.*-exp$"
skip_models_patterns:
- "^gemini-1.0-.*$"
harm_threshold: "BLOCK_ONLY_HIGH" # https://ai.google.dev/gemini-api/docs/safety-settings#safety-filtering-level
grounding_threshold: 0.3 # https://ai.google.dev/gemini-api/docs/grounding#dynamic-retrieval
- provider_name: "DeepSeek"
api_type: "openai"
params:
api_key: "sk-xxxx"
base_url: "https://api.deepseek.com"
temperature: 0.9
default_model: "gpt-4o"