-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json.example
36 lines (36 loc) · 958 Bytes
/
config.json.example
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
33
34
35
36
{
"services": {
"openai": {
"service": "openai",
"api_key": "your-openai-api-key-here",
"url": "https://api.openai.com/v1/chat/completions",
"model": "gpt-4",
"language": "zh-CN",
"max_context_length": 8192,
"max_output_length": 4096
},
"deepseek": {
"service": "deepseek",
"api_key": "your-deepseek-api-key-here",
"url": "https://api.deepseek.com/v1/chat/completions",
"model": "deepseek-chat",
"language": "zh-CN",
"max_context_length": 32768,
"max_output_length": 8192
},
"ollama": {
"service": "ollama",
"api_key": "not-required",
"url": "http://localhost:11434/v1/chat/completions",
"model": "qwen:7b",
"language": "zh-CN",
"max_context_length": 65536,
"max_output_length": 8192
}
},
"default_service": "openai",
"defaults": {
"max_context_length": 4096,
"max_output_length": 2048
}
}