-
Notifications
You must be signed in to change notification settings - Fork 43
/
config.json.template
47 lines (47 loc) · 1.3 KB
/
config.json.template
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
{
"telegram": {
"bot_token": "<YOUR_TELEGRAM_BOT_TOKEN_HERE>",
"enable_inline_mode": true,
"context_expiration_time": 600
},
"openai": {
"api_key": "<YOUR_OPENAI_API_KEY_HERE>",
"chat_model": "gpt-3.5-turbo",
"chat_temperature": 1.0,
"enable_custom_system_role": true,
"default_system_role": "You are a helpful assistant",
"api_timeout": 30
},
"user_management": {
"allow_all_users": false,
"allowed_users": [
"<USER_ID_1>",
"<USER_ID_2>"
],
"super_users": [
"<SUPER_USER_ID_1>",
"<SUPER_USER_ID_2>"
]
},
"image_generation": {
"enable_dalle": true,
"limit_per_day": 5
},
"voice_message": {
"enable_voice": true,
"tts_reply": true,
"text_as_caption": true
},
"azure_tts": {
"language": "en-US",
"voice": "en-US-AmberNeural",
"subscription_key": "<YOUR_AZURE_TTS_SUBSCRIPTION_KEY_HERE>",
"subscription_region": "<YOUR_AZURE_TTS_SUBSCRIPTION_REGION_HERE>"
},
"logging": {
"log_level": "INFO",
"log_format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s",
"log_path": "./log/",
"log_file_with_time": false
}
}