QChatGPT/templates/provider.json

47 lines
1.1 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-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-02-06 21:26:03 +08:00
}
}