-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_conf_schema.json
More file actions
45 lines (45 loc) · 1.45 KB
/
Copy path_conf_schema.json
File metadata and controls
45 lines (45 loc) · 1.45 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
{
"organize_enabled": {
"description": "是否启用满阈值AI整理",
"hint": "关闭后消息只进短期缓冲,不产生长期记忆",
"type": "bool",
"default": true
},
"organize_threshold": {
"description": "触发整理的消息条数",
"hint": "每个群攒满这么多条消息后,AI自动提炼人物画像与要点存入长期记忆,并清空缓冲",
"type": "int",
"default": 100
},
"organize_provider": {
"description": "AI整理使用的模型提供商",
"hint": "留空则跟随当前对话模型;也可用 /mem models、/mem model 查看和设置",
"type": "string",
"_special": "select_provider",
"default": ""
},
"organize_prompt": {
"description": "AI整理前的额外提示词",
"hint": "可选。会追加在默认整理提示词之后,例如:注意保留群友之间的昵称对应关系",
"type": "text",
"default": ""
},
"top_k": {
"description": "注入的长期记忆条数",
"hint": "检索到相关记忆时最多注入几条",
"type": "int",
"default": 5
},
"include_recent": {
"description": "是否注入缓冲中的最近消息",
"hint": "开启后会在上下文附带缓冲中最近几条消息,帮助理解当前语境",
"type": "bool",
"default": true
},
"recent_count": {
"description": "注入的最近消息条数",
"hint": "include_recent 开启时生效",
"type": "int",
"default": 5
}
}