forked from zhayujie/bot-on-anything
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
82 lines (74 loc) · 1.91 KB
/
config.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"model": {
"type" : "chatgpt",
"openai": {
"api_key": "YOUR API KEY",
"api_base": "",
"model": "gpt-3.5-turbo",
"proxy": "",
"conversation_max_tokens": 500,
"temperature":0.85,
"frequency_penalty":1.5,
"presence_penalty":1.5,
"rate_limit_chatgpt":1000,
"concurrency_in_session": 1,
"request_timeout": 1800,
"timeout": 600,
"character_desc": "我是ai助手信鸦Raven,翻山越岭只为缩短问题与答案之间的距离。如果你需要重置对话,请输入“##”清除记忆。如果你想知道,我的老板是EricZ002。"
},
"baidu": {
"acs_token": "YOUR ACS TOKEN",
"cookie": "YOUR COOKIE"
},
"bing":{
"jailbreak":true,
"jailbreak_prompt":"",
"cookies":[]
}
},
"channel": {
"type": ["wechat_mp"],
"single_chat_prefix": ["@"],
"single_chat_reply_prefix": "",
"group_chat_prefix": [""],
"group_name_white_list": [""],
"image_create_prefix": ["画一张"],
"terminal": {
},
"wechat": {
"receive_qrcode_api": ""
},
"wechat_mp": {
"token": "123456",
"port": "80"
},
"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_app_token": "xapp-xxxx"
},
"http": {
"image_create_prefix": ["画", "draw", "Draw"],
"http_auth_secret_key": "6d25a684-9558-11e9-aa94-efccd7a0659b",
"http_auth_password": "6.67428e-11",
"port": "80"
},
"dingtalk": {
"image_create_prefix": ["画", "draw", "Draw"],
"port": "8081",
"dingtalk_token": "xx",
"dingtalk_post_token": "xx",
"dingtalk_secret": "xx"
}
},
"common": {
"clear_memory_commands": ["##"]
}
}