Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ _✨ 一个基于 AstrBot 的智能群聊分析插件,支持 **QQ (OneBot)**
| HTML 格式 (自建) | 配置 `html_base_url` 后,机器人会发送可直接点击的报告外链。 | 输出格式需设为 html |
| 自定义 LLM 服务 | 用户可自行选取个人提供的服务商。 | 留空则回退到默认服务商 |

### UMO Group 聚合配置
- 在面板的 **UMO 分组** 中配置多条分组,每条包含 `id`、`source_umos`(来源群 UMO 列表)和 `output_umos`(报告输出 UMO 列表)。
- 在基础白/黑名单、定时分析群列表、增量分析群列表里,可用 `umoGroup:<id>` 引用某个分组。来源群既可以继续单独产出报告,也会参与所属分组的聚合报告。
- 每个分组会聚合其来源 UMO 的消息生成一份报告,并发送到所有 `output_umos`;同一个来源可属于多个分组,互不影响。
- 组 ID 仅允许字母、数字、下划线、短横线,不得包含空格、点号、分号等特殊字符。
- 若分组出现在增量名单,会使用增量模式按来源累积批次并合并生成报告,立即上报和定时报告均使用同一套增量数据。

### 分析黑白名单配置说明(小白能懂)

下面只讲“在面板里怎么点”。
Expand Down
36 changes: 36 additions & 0 deletions _conf_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,42 @@
}
}
},
"umo_groups": {
"description": "UMO 分组",
"type": "template_list",
"hint": "将多个群的 UMO 组合为一个 UMO Group,用于聚合分析和指定输出 UMO。UMO Group ID 会以 umoGroup:ID 的形式在其他配置中引用。",
"default": [],
"templates": {
"umo_group": {
"name": "UMO 组合",
"hint": "一个 UMO 组合,用于配置来源 UMO 与输出 UMO。",
"items": {
"id": {
"type": "string",
"description": "UMO Group ID",
"hint": "用于标识此 UMO Group,引用时以 umoGroup:ID 的形式填写。仅允许字母、数字、下划线、短横线,禁止包含空格、点号、分号等特殊字符。"
},
"source_umos": {
"type": "list",
"description": "来源 UMO 列表",
"hint": "参与聚合分析的来源 UMO。",
"items": {
"type": "string"
}
},
"output_umos": {
"type": "list",
"description": "输出 UMO 列表",
"hint": "聚合报告要发送到的目标 UMO,支持填写多个 UMO。",
"default": [],
"items": {
"type": "string"
}
}
}
}
}
},
"auto_analysis": {
"description": "定时分析设置",
"type": "object",
Expand Down
Loading
Loading