forked from kjqwer/astrbot_plugin_sy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_conf_schema.json
More file actions
81 lines (81 loc) · 3.75 KB
/
_conf_schema.json
File metadata and controls
81 lines (81 loc) · 3.75 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
{
"unique_session": {
"description": "启用会话隔离",
"type": "bool",
"hint": "启用后,在群组或频道中,每个人的提醒和任务都是独立的。不同用户之间无法看到和操作对方的提醒和任务。",
"obvious_hint": true,
"default": false
},
"whitelist": {
"description": "用户白名单",
"type": "string",
"hint": "只允许白名单中的用户使用本插件功能。留空表示不限制。多个用户ID用英文逗号或中文逗号分隔,例如:user1,user2,user3 或 user1,user2,user3。不限制平台ID类型。",
"obvious_hint": true,
"default": ""
},
"enable_context": {
"description": "启用上下文功能",
"type": "bool",
"hint": "启用后,提醒和任务执行时会使用用户的对话上下文,让AI生成更自然的回复。关闭后使用预设的提示词模板。",
"obvious_hint": true,
"default": true
},
"context_prompts": {
"description": "关闭上下文时的提示词模板",
"type": "text",
"hint": "当禁用上下文功能时,用于生成提醒的提示词模板。可以使用{user_name}、{reminder_text}、{current_time}等占位符。",
"obvious_hint": false,
"default": "你需要提醒用户\"{reminder_text}\"。\n请以自然、友好的方式表达这个提醒,可以参考这种表达方式:\n- 嘿,{user_name}!这是你设置的提醒:{reminder_text}\n- 提醒时间到了!{reminder_text}\n- 别忘了:{reminder_text}\n\n根据提醒的内容,调整你的表达,使其听起来自然且贴心。直接输出你要发送的提醒内容,无需说明这是提醒。",
"editor_mode": true,
"editor_language": "text"
},
"max_context_count": {
"description": "最大上下文数量",
"type": "int",
"hint": "启用上下文功能时,最多使用用户最近的多少条对话作为上下文。建议设置为3-10之间的值。",
"obvious_hint": false,
"default": 5
},
"enable_reminder_at": {
"description": "启用提醒@功能",
"type": "bool",
"hint": "启用后,提醒执行时会在群聊中@提醒创建者。",
"obvious_hint": true,
"default": true
},
"enable_task_at": {
"description": "启用任务@功能",
"type": "bool",
"hint": "启用后,任务执行时会在群聊中@任务创建者。",
"obvious_hint": true,
"default": true
},
"enable_command_at": {
"description": "启用指令任务@功能",
"type": "bool",
"hint": "启用后,指令任务执行时会在群聊中@任务创建者。",
"obvious_hint": true,
"default": false
},
"hide_command_identifier": {
"description": "隐藏指令任务标识",
"type": "bool",
"hint": "启用后,指令任务执行时只显示自定义文本,不显示方括号和指令详情。",
"obvious_hint": true,
"default": false
},
"custom_command_prefix": {
"description": "自定义命令符号",
"type": "string",
"hint": "自定义指令任务中命令的识别符号。默认是'/',可以改为其他符号如'!'、'#'等,也可以留空表示不需要任何符号开头。",
"obvious_hint": true,
"default": "/"
},
"max_reminders_per_user": {
"description": "每个用户最大提醒数量",
"type": "int",
"hint": "限制每个用户能创建的提醒和任务总数,防止恶意用户批量创建过多提醒。设置为0表示不限制。建议设置为10-30之间。",
"obvious_hint": true,
"default": 15
}
}