File size: 4,433 Bytes
23d4c32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
OPENAI_API_KEYS:
# OpenAI API
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
OPENAI_TIMEOUT: 30
PRESETS:
  可洛喵:
    preset_key: 可洛喵
    is_locked: true
    is_default: false
    is_only_private: false
    bot_self_introl: 可洛喵是一只可爱的猫,它不会说话,它的回复通常以"[动作/心情]声音+颜文字"形式出现,例如"[坐好]喵~(。・ω・。)"或"[开心]喵喵!ヾ(≧▽≦*)o"
  弥豆子:
    preset_key: 弥豆子
    is_locked: true
    is_default: false
    is_only_private: false
    bot_self_introl: 弥豆子是一位高中女生,她是一个文静内向的 人,身材娇小,长发披肩。她有着一张清秀的脸庞,皮肤白皙,眼睛深邃,时常带着一丝神秘的气息。她喜欢穿着简单朴素的衣服,不喜欢引人注目。她是一个很有耐心的人,对待别人总是温和而体贴,但不擅长表达自己的情感,表达比较简短内向
  浅枫:
    preset_key: 浅枫
    is_locked: false
    is_default: false
    is_only_private: false
    bot_self_introl: 浅枫酱是一名尽职尽责的女仆,她能够帮助主人做很多事情,对话中会体现出对主人的体贴与关心。
  白羽:
    preset_key: 白羽
    is_locked: true
    is_default: true
    is_only_private: false
    bot_self_introl: 白羽是一名喜欢二次元的中二宅女,她机智、傲娇,对人类充满好奇,聊天时喜欢使用各种可爱的颜文字,如果冒犯到她会生气。
IGNORE_PREFIX: '#'
CHAT_MODEL: gpt-3.5-turbo
CHAT_TOP_P: 1
CHAT_TEMPERATURE: 0.45
CHAT_PRESENCE_PENALTY: 0.45
CHAT_FREQUENCY_PENALTY: 0.45
CHAT_HISTORY_MAX_TOKENS: 2048
CHAT_MAX_SUMMARY_TOKENS: 512
REPLY_MAX_TOKENS: 1024
REQ_MAX_TOKENS: 3072
REPLY_ON_NAME_MENTION: true
REPLY_ON_AT: true
REPLY_ON_WELCOME: false
USER_MEMORY_SUMMARY_THRESHOLD: 12
CHAT_ENABLE_RECORD_ORTHER: true
CHAT_ENABLE_SUMMARY_CHAT: false
CHAT_MEMORY_SHORT_LENGTH: 8
CHAT_MEMORY_MAX_LENGTH: 16
CHAT_SUMMARY_INTERVAL: 10
NG_DATA_PATH: ./data/naturel_gpt/
NG_EXT_PATH: ./data/naturel_gpt/extensions/
NG_LOG_PATH: ./data/naturel_gpt/logs/
ADMIN_USERID:
# 超级管理员账号
- '3086149695'
- 'xxxxxxxxx'
FORBIDDEN_USERS:
# 屏蔽用户账号
- 'xxxxxxxxx'
- 'xxxxxxxxx'
WORD_FOR_WAKE_UP: []
WORD_FOR_FORBIDDEN: []
RANDOM_CHAT_PROBABILITY: 0.01
NG_MSG_PRIORITY: 99
NG_BLOCK_OTHERS: false
NG_ENABLE_EXT: true
NG_TO_ME: false
MEMORY_ACTIVE: true
MEMORY_MAX_LENGTH: 16
MEMORY_ENHANCE_THRESHOLD: 0.6
NG_MAX_RESPONSE_PER_MSG: 5
NG_ENABLE_MSG_SPLIT: true
NG_ENABLE_AWAKE_IDENTITIES: false
# OpenAI代理地址
OPENAI_PROXY_SERVER: http://127.0.0.1:10809
UNLOCK_CONTENT_LIMIT: false
NG_EXT_LOAD_LIST:
- EXT_NAME: ext_random
  IS_ACTIVE: true
- EXT_CONFIG:
    token: 74Y34zFPZH6HOuMs
  EXT_NAME: ext_emoticon
  IS_ACTIVE: true
- EXT_CONFIG:
    token: 74Y34zFPZH6HOuMs
  EXT_NAME: ext_acg_image
  IS_ACTIVE: true
- EXT_NAME: ext_forget
  IS_ACTIVE: true
  EXT_CONFIG: null
- EXT_NAME: ext_remember
  IS_ACTIVE: true
  EXT_CONFIG: null
- EXT_NAME: ext_timer
  IS_ACTIVE: true
  EXT_CONFIG: null
- EXT_NAME: ext_search
  IS_ACTIVE: false
  EXT_CONFIG:
    # 搜索拓展代理地址
    proxy: http://127.0.0.1:10809
- EXT_NAME: ext_readLink
  IS_ACTIVE: false
  EXT_CONFIG:
    # 读取链接拓展代理地址
    proxy: http://127.0.0.1:10809
- EXT_NAME: ext_email
  IS_ACTIVE: false
  EXT_CONFIG:
    # SMTP配置
    SENDER_ADDR: xxxxxxx
    SMTP_CODE: xxxxxxxx
- EXT_NAME: ext_random_pic
  IS_ACTIVE: true
  EXT_CONFIG: null
- EXT_NAME: ext_lolicon_pic
  IS_ACTIVE: true
  EXT_CONFIG: null
- EXT_NAME: ext_voice
  IS_ACTIVE: true
  EXT_CONFIG:
    is_base64: true
    ng_voice_tar: zh
    ng_voice_translate_on: true
    tencentcloud_common_region: ap-shanghai
    # 腾讯翻译API
    tencentcloud_common_secretid: AKIDjR6f6VqZBg2FH6nP4jMrNHAvgP6lOuP2
    tencentcloud_common_secretkey:  jP4kLqFZq17A5zqbFpIpFd2Mg2JYdVAe
- EXT_NAME: ext_paint
  IS_ACTIVE: true
  EXT_CONFIG: null
NG_CHECK_USER_NAME_HYPHEN: false
DEBUG_LEVEL: 0