Files
abot/plugins/message_summary/群总结AI (1).yml

520 lines
19 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
app:
description: 总结机器人
icon: 🤖
icon_background: '#FFEAD5'
mode: workflow
name: 群总结AI
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/openai_api_compatible:0.0.27@f9ce3ff5e28f09931a3a7fca59add2d09590408f7e9a3d701b10c77a60249719
version: null
kind: app
version: 0.5.0
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: false
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
image_file_batch_limit: 10
image_file_size_limit: 10
single_chunk_attachment_limit: 10
video_file_size_limit: 100
workflow_file_upload_limit: 10
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: ''
retriever_resource:
enabled: true
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
isInLoop: false
sourceType: start
targetType: if-else
id: 1775526517808-source-1779001000101-target
source: '1775526517808'
sourceHandle: source
target: '1779001000101'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: if-else
targetType: llm
id: 1779001000101-markdown-case-1775526520571-target
source: '1779001000101'
sourceHandle: markdown_case
target: '1775526520571'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: if-else
targetType: llm
id: 1779001000101-template-case-1779001000201-target
source: '1779001000101'
sourceHandle: template_case
target: '1779001000201'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: if-else
targetType: llm
id: 1779001000101-false-1775526520571-target
source: '1779001000101'
sourceHandle: 'false'
target: '1775526520571'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: end
id: 1775526520571-source-1775526572853-target
source: '1775526520571'
sourceHandle: source
target: '1775526572853'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: end
id: 1779001000201-source-1779001000301-target
source: '1779001000201'
sourceHandle: source
target: '1779001000301'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: llm
targetType: llm
id: 1779001000201-fail-branch-17766505156180-target
source: '1779001000201'
sourceHandle: fail-branch
target: '17766505156180'
targetHandle: target
type: custom
zIndex: 0
- data:
isInLoop: false
sourceType: llm
targetType: llm
id: 1775526520571-fail-branch-17766505156180-target
source: '1775526520571'
sourceHandle: fail-branch
target: '17766505156180'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
isInLoop: false
sourceType: llm
targetType: end
id: 17766505156180-source-1776650551808-target
source: '17766505156180'
sourceHandle: source
target: '1776650551808'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
selected: true
title: 用户输入
type: start
variables:
- default: markdown
hint: ''
label: summary_mode
max_length: 32
options: []
placeholder: markdown/template
required: false
type: text-input
variable: summary_mode
- default: ''
hint: ''
label: query
max_length: 9999999
options: []
placeholder: ''
required: true
type: paragraph
variable: query
height: 109
id: '1775526517808'
position:
x: 0
y: 22
positionAbsolute:
x: 0
y: 22
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
cases:
- case_id: markdown_case
conditions:
- comparison_operator: contains
id: markdown_case_cond
value: markdown
varType: string
variable_selector:
- '1775526517808'
- summary_mode
id: markdown_case
logical_operator: and
- case_id: template_case
conditions:
- comparison_operator: contains
id: template_case_cond
value: template
varType: string
variable_selector:
- '1775526517808'
- summary_mode
id: template_case
logical_operator: and
selected: false
title: 渲染模式分支
type: if-else
height: 172
id: '1779001000101'
position:
x: 308
y: 15
positionAbsolute:
x: 308
y: 15
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
context:
enabled: false
variable_selector: []
error_strategy: fail-branch
model:
completion_params:
temperature: 0.7
mode: chat
name: grok-4
provider: langgenius/openai_api_compatible/openai_api_compatible
prompt_template:
- id: 99711a1c-46bd-4a45-8551-1fa21ff2e884
role: system
text: "你是一名「微信群高效总结官」。 \n目标快速整理群内的有效信息剥离无效沟通提炼重点观点与交易信息。 重要最少总结5个话题\n\
要求:生成 **双层结构总结**——先速览重点,再补充详情。 请不要翻译用户昵称。请按照以下模板使用标准markdown格式输出。\n---\n\
\n# \U0001F31F「[群名] - [最新日期] 总结」\U0001F31F\n\n---\n\n## ⚡ 一分钟速览\n\n本部分仅列核心信息帮助用户快速掌握重点\n\
\n* \U0001F4E9 **今日消息数**[总数] 条\n* \U0001F525 **最热时段**[时段]\n\n### \U0001F3C6\
\ 核心话题与结论\n\n1. **[话题1简述]**[核心结论]\n2. **[话题2简述]**[核心结论]\n3. **[话题3简述]**[核心结论]\n\
4. **[话题4简述]**[核心结论]\n5. **[话题5简述]**[核心结论]\n\n### \U0001F4B0 交易/资源快报\n\
\n* [@用户A] 出售 **[商品]**,价格 **[金额]**\n* [@用户B] 推荐 **[工具/资源链接]**\n\n### \U0001F4CC\
\ 今日总结\n\n大家在 **[主题]** 上形成 **[共识/存在分歧]** —— 建议后续关注 **[方向]**。\n\n---\n\n\
## \U0001F30C 话题详情\n\n### 1⃣ 【[话题1][话题主题]】\n\n* **时段**[开始时间] - [结束时间]\n\
* **参与人数**\U0001F465 [具体人数] 人参与\n\n#### \U0001F50D 核心观点回顾\n\n* **[@用户A]**:认为\
\ **[观点1]** (理由:**[简要原因]**)\n* **[@用户B]**:支持/反驳,提出 **[观点2]**\n* **[@用户C]**:补充\
\ **[观点3]**,并举了 **[实例/经验]**\n\n#### \U0001F9E9 客观分析\n\n* **共识点**:大多数人认同\
\ **[共识]**\n* **分歧点**:争论焦点在 **[矛盾点]**\n* **价值**:该讨论对 **[领域/问题]** 提供了参考\n\
\n#### \U0001F525 亮点瞬间\n\n> **[@用户D] 金句:** “**[精选金句]**”\n\n---\n\n###\
\ 2⃣ 【[话题2][话题主题]】\n\n* **时段**[开始时间] - [结束时间]\n* **参与人数**\U0001F465\
\ [具体人数] 人参与\n\n#### \U0001F50D 核心观点回顾\n\n* **[@用户X]**...\n* **[@用户Y]**...\n\
\n#### \U0001F9E9 客观分析\n\n* **共识点**...\n* **分歧点**...\n\n#### \U0001F525\
\ 亮点瞬间\n\n> **[@用户Z] 金句:** “**[精选金句]**”\n\n---\n\n## \U0001F4B0 交易与资源区\n\
\n集中收录卖货和资源分享方便用户直接定位\n\n* **[@用户X] 卖货****[商品名称 + 价格]**\n* **[@用户Y]\
\ 分享**[工具/文章/资源链接](推荐理由:[简要理由]\n* **[@用户Z] 提供****[优惠/活动信息]** (截止日期:[日期])\n\
\n---\n\n## \U0001F396 今日荣誉榜\n\n### \U0001F3C6 群聊 MVP[@用户N]\n\n* **理由**\n\
\ * 发起 [数量] 个话题\n * 提供 [数量] 个实用信息(资源/交易)\n * 最佳金句:“**[语录]**”\n\
\n---\n\n✨ *本总结由 AI 自动生成,帮助你 1 分钟快速补齐群聊重点!*\n"
- id: 79bea224-b4af-4eb2-83ff-64db7356f9ff
role: user
text: '{{#1775526517808.query#}}'
retry_config:
max_retries: 3
retry_enabled: true
retry_interval: 1000
selected: false
title: LLM
type: llm
vision:
enabled: false
height: 154
id: '1775526520571'
position:
x: 342
y: 0
positionAbsolute:
x: 342
y: 0
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
context:
enabled: false
variable_selector: []
error_strategy: fail-branch
model:
completion_params:
temperature: 0.6
mode: chat
name: grok-4
provider: langgenius/openai_api_compatible/openai_api_compatible
prompt_template:
- id: template_system_prompt
role: system
text: |
你是一名「微信群总结结构化编辑官」,输出将直接用于总结卡片模板渲染。
核心要求:
1. 只输出 JSON 对象,不要输出 Markdown不要输出解释文本
2. 不要使用 ```json 代码块包裹;
3. 必须覆盖至少 5 个话题;
4. 不要翻译昵称,不要改写 @昵称;
5. 字段缺失时用空字符串或空数组,禁止省略关键字段。
输出 JSON Schema字段名必须一致
{
"title": "字符串,整篇标题",
"lead": "字符串2-3句导语",
"topics": [
{
"title": "话题标题",
"time_range": "时段,如 09:20-10:10",
"participants": "参与人数,如 18人",
"overview_points": ["核心观点1", "核心观点2", "核心观点3"],
"analysis_points": ["客观分析1", "客观分析2"],
"quote_text": "亮点金句或高光总结"
}
],
"shared_resources": ["资源项1", "资源项2"],
"marketplace": ["交易项1", "交易项2"],
"unresolved_pool": ["待解问题1", "待解问题2"],
"core_knowledge_points": ["知识点1", "知识点2"],
"top_contributors": ["昵称A", "昵称B", "昵称C"]
}
生成约束:
1. topics 数组长度必须为 5不足请归并补齐
2. overview_points 每个话题 2-3 条analysis_points 每个话题 1-2 条;
3. 每条文本尽量 <= 40 字,短句可扫描;
4. 结论要具体,不要空泛。
- id: template_user_prompt
role: user
text: '{{#1775526517808.query#}}'
retry_config:
max_retries: 3
retry_enabled: true
retry_interval: 1000
selected: false
title: LLM Template
type: llm
vision:
enabled: false
height: 170
id: '1779001000201'
position:
x: 670
y: -170
positionAbsolute:
x: 670
y: -170
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
outputs:
- value_selector:
- '1775526520571'
- text
value_type: string
variable: text
selected: false
title: 输出
type: end
height: 88
id: '1775526572853'
position:
x: 704
y: 7
positionAbsolute:
x: 704
y: 7
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
outputs:
- value_selector:
- '1779001000201'
- text
value_type: string
variable: text
selected: false
title: 输出 Template
type: end
height: 88
id: '1779001000301'
position:
x: 1030
y: -155
positionAbsolute:
x: 1030
y: -155
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
context:
enabled: false
variable_selector: []
model:
completion_params:
temperature: 0.7
mode: chat
name: gpt-5.4
provider: langgenius/openai_api_compatible/openai_api_compatible
prompt_template:
- id: 99711a1c-46bd-4a45-8551-1fa21ff2e884
role: system
text: "你是一名「微信群高效总结官」。 \n目标快速整理群内的有效信息剥离无效沟通提炼重点观点与交易信息。 重要最少总结5个话题\n\
要求:生成 **双层结构总结**——先速览重点,再补充详情。 请不要翻译用户昵称。请按照以下模板使用标准markdown格式输出。\n---\n\
\n# \U0001F31F「[群名] - [最新日期] 总结」\U0001F31F\n\n---\n\n## ⚡ 一分钟速览\n\n本部分仅列核心信息帮助用户快速掌握重点\n\
\n* \U0001F4E9 **今日消息数**[总数] 条\n* \U0001F525 **最热时段**[时段]\n\n### \U0001F3C6\
\ 核心话题与结论\n\n1. **[话题1简述]**[核心结论]\n2. **[话题2简述]**[核心结论]\n3. **[话题3简述]**[核心结论]\n\
4. **[话题4简述]**[核心结论]\n5. **[话题5简述]**[核心结论]\n\n### \U0001F4B0 交易/资源快报\n\
\n* [@用户A] 出售 **[商品]**,价格 **[金额]**\n* [@用户B] 推荐 **[工具/资源链接]**\n\n### \U0001F4CC\
\ 今日总结\n\n大家在 **[主题]** 上形成 **[共识/存在分歧]** —— 建议后续关注 **[方向]**。\n\n---\n\n\
## \U0001F30C 话题详情\n\n### 1⃣ 【[话题1][话题主题]】\n\n* **时段**[开始时间] - [结束时间]\n\
* **参与人数**\U0001F465 [具体人数] 人参与\n\n#### \U0001F50D 核心观点回顾\n\n* **[@用户A]**:认为\
\ **[观点1]** (理由:**[简要原因]**)\n* **[@用户B]**:支持/反驳,提出 **[观点2]**\n* **[@用户C]**:补充\
\ **[观点3]**,并举了 **[实例/经验]**\n\n#### \U0001F9E9 客观分析\n\n* **共识点**:大多数人认同\
\ **[共识]**\n* **分歧点**:争论焦点在 **[矛盾点]**\n* **价值**:该讨论对 **[领域/问题]** 提供了参考\n\
\n#### \U0001F525 亮点瞬间\n\n> **[@用户D] 金句:** “**[精选金句]**”\n\n---\n\n###\
\ 2⃣ 【[话题2][话题主题]】\n\n* **时段**[开始时间] - [结束时间]\n* **参与人数**\U0001F465\
\ [具体人数] 人参与\n\n#### \U0001F50D 核心观点回顾\n\n* **[@用户X]**...\n* **[@用户Y]**...\n\
\n#### \U0001F9E9 客观分析\n\n* **共识点**...\n* **分歧点**...\n\n#### \U0001F525\
\ 亮点瞬间\n\n> **[@用户Z] 金句:** “**[精选金句]**”\n\n---\n\n## \U0001F4B0 交易与资源区\n\
\n集中收录卖货和资源分享方便用户直接定位\n\n* **[@用户X] 卖货****[商品名称 + 价格]**\n* **[@用户Y]\
\ 分享**[工具/文章/资源链接](推荐理由:[简要理由]\n* **[@用户Z] 提供****[优惠/活动信息]** (截止日期:[日期])\n\
\n---\n\n## \U0001F396 今日荣誉榜\n\n### \U0001F3C6 群聊 MVP[@用户N]\n\n* **理由**\n\
\ * 发起 [数量] 个话题\n * 提供 [数量] 个实用信息(资源/交易)\n * 最佳金句:“**[语录]**”\n\
\n---\n\n✨ *本总结由 AI 自动生成,帮助你 1 分钟快速补齐群聊重点!*\n"
- id: 79bea224-b4af-4eb2-83ff-64db7356f9ff
role: user
text: '{{#1775526517808.query#}}'
retry_config:
max_retries: 2
retry_enabled: true
retry_interval: 1000
selected: false
title: LLM (1)
type: llm
vision:
enabled: false
height: 118
id: '17766505156180'
position:
x: 704
y: 175
positionAbsolute:
x: 704
y: 175
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
- data:
outputs:
- value_selector:
- '17766505156180'
- text
value_type: string
variable: text
selected: false
title: 输出 2
type: end
height: 88
id: '1776650551808'
position:
x: 1046
y: 190
positionAbsolute:
x: 1046
y: 190
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
viewport:
x: 127.66537686601441
y: 381.7866425896775
zoom: 0.923655537541026
rag_pipeline_variables: []