-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.json
More file actions
88 lines (88 loc) · 1.79 KB
/
Copy pathconfig.example.json
File metadata and controls
88 lines (88 loc) · 1.79 KB
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
83
84
85
86
87
88
{
"discord": {
"enabled": false,
"token": "YOUR_DISCORD_BOT_TOKEN",
"embedColor": "#1DA1F2"
},
"telegram": {
"enabled": true,
"token": "YOUR_TELEGRAM_BOT_TOKEN",
"parseMode": "HTML",
"apiRoot": ""
},
"twitter": {
"enabled": true,
"authToken": "",
"ct0": "",
"username": "",
"password": "",
"email": "",
"totpSecret": ""
},
"webui": {
"enabled": true,
"port": 3000,
"host": "0.0.0.0",
"password": ""
},
"ai": {
"enabled": false,
"apiUrl": "https://api.openai.com/v1",
"apiKey": "",
"model": "gpt-3.5-turbo",
"systemPrompt": "你是一个有帮助的助手。",
"maxTokens": 1024,
"temperature": 0.7,
"allowedGuildIds": [],
"maxToolIterations": 8,
"reactions": true,
"webSearch": {
"enabled": false,
"provider": "duckduckgo",
"apiKey": "",
"baseUrl": "",
"maxResults": 5
},
"memory": {
"enabled": false,
"maxProfileItems": 12,
"maxProfileChars": 800,
"recentTurns": 6,
"recallLimit": 8,
"logConversations": true,
"maxConversationsPerUser": 500
},
"summary": {
"enabled": false,
"maxMessagesPerChannel": 500,
"defaultCount": 100
}
},
"enableApproval": true,
"sendAsImage": true,
"xToImageApiUrl": "",
"xToImageApiToken": "",
"xToImageApiTheme": "dark",
"imageCacheTtlMinutes": 60,
"pollIntervalMinutes": 5,
"maxPostsPerFetch": 20,
"maxTweetAgeMinutes": 60,
"groups": [
{
"name": "my-group",
"users": [
{
"username": "elonmusk",
"displayName": "Elon",
"filters": {}
}
],
"discord": {
"channelId": "1234567890"
},
"telegram": {
"chatId": "-100123456"
}
}
]
}