QChatGPT/templates/provider.json

53 lines
1.2 KiB
JSON
Raw Normal View History

2024-02-06 21:26:03 +08:00
{
"enable-chat": true,
2024-05-16 21:02:59 +08:00
"enable-vision": true,
2024-03-16 22:12:13 +08:00
"keys": {
"openai": [
2024-02-06 21:26:03 +08:00
"sk-1234567890"
2024-03-18 00:44:45 +08:00
],
"anthropic": [
"sk-1234567890"
],
"moonshot": [
"sk-1234567890"
2024-05-07 22:28:52 +08:00
],
"deepseek": [
"sk-1234567890"
2024-03-16 22:12:13 +08:00
]
2024-02-06 21:26:03 +08:00
},
2024-03-16 22:12:13 +08:00
"requester": {
"openai-chat-completions": {
"base-url": "https://api.openai.com/v1",
"args": {},
"timeout": 120
2024-03-18 00:44:45 +08:00
},
"anthropic-messages": {
"base-url": "https://api.anthropic.com",
2024-03-18 00:44:45 +08:00
"args": {
"max_tokens": 1024
},
"timeout": 120
},
"moonshot-chat-completions": {
"base-url": "https://api.moonshot.cn/v1",
"args": {},
"timeout": 120
2024-05-07 22:28:52 +08:00
},
"deepseek-chat-completions": {
"base-url": "https://api.deepseek.com",
"args": {},
"timeout": 120
2024-07-09 23:37:34 +08:00
},
"ollama-chat": {
"base-url": "http://127.0.0.1:11434",
"args": {},
"timeout": 600
2024-03-16 22:12:13 +08:00
}
},
"model": "gpt-3.5-turbo",
2024-02-06 21:26:03 +08:00
"prompt-mode": "normal",
"prompt": {
2024-03-16 21:43:45 +08:00
"default": ""
2024-07-28 18:45:27 +08:00
},
"runner": "local-agent"
2024-02-06 21:26:03 +08:00
}