forked from zhayujie/bot-on-anything
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-template.json
52 lines (44 loc) · 1.16 KB
/
config-template.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"model": {
"type" : "chatgpt",
"openai": {
"api_key": "YOUR API KEY",
"proxy": "",
"conversation_max_tokens": 1000,
"character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。"
}
},
"channel": {
"type": "terminal",
"single_chat_prefix": ["bot", "@bot"],
"single_chat_reply_prefix": "[bot] ",
"group_chat_prefix": ["@bot"],
"group_name_white_list": ["ChatGPT测试群"],
"image_create_prefix": ["画", "看", "找一张"],
"terminal": {
},
"wechat": {
},
"wechat_mp": {
"token": "YOUR TOKEN",
"port": "8088"
},
"gmail": {
"subject_keyword": ["bot", "@bot"],
"host_email": "[email protected]",
"host_password": "GMAIL ACCESS KEY"
},
"telegram": {
"bot_token": "xx:xx"
},
"slack": {
"slack_bot_token": "xoxb-xxxx",
"slack_signing_secret": "xxxx"
},
"http": {
"http_auth_secret_key": "6d25a684-9558-11e9-aa94-efccd7a0659b",
"http_auth_password": "6.67428e-11",
"port": "80"
}
}
}