Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
- 创建 types.ts 定义完整的类型系统 - 重写 DocumentRenderer.tsx 修复语法错误 - 重写 QuizRenderer.tsx 修复语法错误 - 重写 PresentationContainer.tsx 添加类型守卫 - 重写 TypeSwitcher.tsx 修复类型引用 - 更新 index.ts 移除不存在的 ChartRenderer 导出 审计结果: - 类型检查: 通过 - 单元测试: 222 passed - 构建: 成功
327 lines
8.5 KiB
YAML
327 lines
8.5 KiB
YAML
# ZCLAW Pipeline - Meeting Summary
|
|
# 会议纪要:输入会议内容,自动生成结构化会议纪要
|
|
|
|
apiVersion: zclaw/v1
|
|
kind: Pipeline
|
|
metadata:
|
|
name: meeting-summary
|
|
displayName: 智能会议纪要
|
|
category: productivity
|
|
industry: other
|
|
description: 输入会议记录或转录文本,自动生成结构化会议纪要、待办事项和跟进计划
|
|
tags:
|
|
- 会议
|
|
- 纪要
|
|
- 生产力
|
|
- 团队协作
|
|
icon: 📝
|
|
author: ZCLAW
|
|
version: 1.0.0
|
|
|
|
spec:
|
|
# 输入参数定义
|
|
inputs:
|
|
- name: meeting_content
|
|
type: text
|
|
required: true
|
|
label: 会议内容
|
|
placeholder: 请粘贴会议记录、转录文本或会议笔记
|
|
|
|
- name: meeting_type
|
|
type: select
|
|
required: false
|
|
label: 会议类型
|
|
default: 项目会议
|
|
options:
|
|
- 项目会议
|
|
- 决策会议
|
|
- 头脑风暴
|
|
- 周会/例会
|
|
- 客户会议
|
|
- 面试
|
|
- 培训/分享
|
|
- 其他
|
|
|
|
- name: participant_names
|
|
type: string
|
|
required: false
|
|
label: 参会人员
|
|
placeholder: 例如:张三、李四、王五
|
|
|
|
- name: output_style
|
|
type: select
|
|
required: false
|
|
label: 输出风格
|
|
default: 正式
|
|
options:
|
|
- 正式
|
|
- 简洁
|
|
- 详细
|
|
|
|
- name: export_formats
|
|
type: multi-select
|
|
required: false
|
|
label: 导出格式
|
|
default: [html, markdown]
|
|
options:
|
|
- html
|
|
- markdown
|
|
- json
|
|
|
|
# 执行步骤
|
|
steps:
|
|
# Step 1: 提取会议基本信息
|
|
- id: extract_info
|
|
description: 提取会议基本信息
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
从以下会议内容中提取基本信息:
|
|
|
|
会议类型: {{meeting_type}}
|
|
参会人员: {{participant_names}}
|
|
|
|
请提取以下信息:
|
|
1. 会议主题/议题
|
|
2. 会议时间和时长(如有提及)
|
|
3. 参会人员及其角色
|
|
4. 会议地点/形式(线上/线下)
|
|
|
|
会议内容:
|
|
```
|
|
{{meeting_content}}
|
|
```
|
|
|
|
以 JSON 格式输出:
|
|
{
|
|
"meeting_topic": "会议主题",
|
|
"meeting_time": "会议时间",
|
|
"duration": "时长估计",
|
|
"participants": [
|
|
{
|
|
"name": "姓名",
|
|
"role": "角色"
|
|
}
|
|
],
|
|
"meeting_format": "线上/线下/混合"
|
|
}
|
|
input:
|
|
meeting_content: ${inputs.meeting_content}
|
|
meeting_type: ${inputs.meeting_type}
|
|
participant_names: ${inputs.participant_names}
|
|
json_mode: true
|
|
temperature: 0.3
|
|
max_tokens: 1500
|
|
|
|
# Step 2: 提取讨论要点
|
|
- id: extract_discussion
|
|
description: 提取讨论要点和关键内容
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
从会议内容中提取讨论要点:
|
|
|
|
会议基本信息:
|
|
${steps.extract_info.output}
|
|
|
|
请提取以下内容:
|
|
1. 主要讨论议题
|
|
2. 各议题的讨论要点
|
|
3. 提出的观点和意见
|
|
4. 争议点和不同看法
|
|
|
|
会议内容:
|
|
```
|
|
{{meeting_content}}
|
|
```
|
|
|
|
以 JSON 格式输出:
|
|
{
|
|
"discussion_topics": [
|
|
{
|
|
"topic": "议题名称",
|
|
"key_points": ["要点1", "要点2"],
|
|
"different_views": [
|
|
{
|
|
"view": "观点",
|
|
"proponent": "提出者"
|
|
}
|
|
],
|
|
"consensus": "达成的共识"
|
|
}
|
|
]
|
|
}
|
|
input:
|
|
meeting_info: ${steps.extract_info.output}
|
|
meeting_content: ${inputs.meeting_content}
|
|
json_mode: true
|
|
temperature: 0.4
|
|
max_tokens: 3000
|
|
|
|
# Step 3: 提取决策和结论
|
|
- id: extract_decisions
|
|
description: 提取会议决策和结论
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
从会议内容中提取决策和结论:
|
|
|
|
会议类型: {{meeting_type}}
|
|
|
|
请提取以下内容:
|
|
1. 做出的决策
|
|
2. 达成的结论
|
|
3. 表决结果(如有)
|
|
4. 下一步计划
|
|
|
|
会议内容:
|
|
```
|
|
{{meeting_content}}
|
|
```
|
|
|
|
以 JSON 格式输出:
|
|
{
|
|
"decisions": [
|
|
{
|
|
"decision": "决策内容",
|
|
"rationale": "决策理由",
|
|
"made_by": "决策者",
|
|
"date": "决策日期"
|
|
}
|
|
],
|
|
"conclusions": ["结论1", "结论2"],
|
|
"votes": [
|
|
{
|
|
"topic": "表决议题",
|
|
"result": "表决结果",
|
|
"details": "表决详情"
|
|
}
|
|
],
|
|
"next_steps": [
|
|
{
|
|
"step": "下一步计划",
|
|
"responsible": "负责人",
|
|
"deadline": "截止日期"
|
|
}
|
|
]
|
|
}
|
|
input:
|
|
meeting_type: ${inputs.meeting_type}
|
|
meeting_content: ${inputs.meeting_content}
|
|
json_mode: true
|
|
temperature: 0.4
|
|
max_tokens: 2000
|
|
|
|
# Step 4: 提取待办事项
|
|
- id: extract_todos
|
|
description: 提取待办事项和行动项
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
从会议内容中提取待办事项:
|
|
|
|
讨论要点:
|
|
${steps.extract_discussion.output}
|
|
|
|
决策结论:
|
|
${steps.extract_decisions.output}
|
|
|
|
请提取所有待办事项,包括:
|
|
1. 具体任务描述
|
|
2. 负责人
|
|
3. 截止日期
|
|
4. 优先级
|
|
5. 相关背景
|
|
|
|
会议内容:
|
|
```
|
|
{{meeting_content}}
|
|
```
|
|
|
|
以 JSON 格式输出:
|
|
{
|
|
"action_items": [
|
|
{
|
|
"task": "任务描述",
|
|
"assignee": "负责人",
|
|
"deadline": "截止日期",
|
|
"priority": "高/中/低",
|
|
"context": "相关背景",
|
|
"dependencies": ["依赖项"]
|
|
}
|
|
],
|
|
"follow_ups": [
|
|
{
|
|
"item": "跟进事项",
|
|
"owner": "跟进人",
|
|
"next_action": "下一步行动"
|
|
}
|
|
]
|
|
}
|
|
input:
|
|
discussion: ${steps.extract_discussion.output}
|
|
decisions: ${steps.extract_decisions.output}
|
|
meeting_content: ${inputs.meeting_content}
|
|
json_mode: true
|
|
temperature: 0.4
|
|
max_tokens: 2500
|
|
|
|
# Step 5: 生成会议纪要
|
|
- id: generate_summary
|
|
description: 生成完整会议纪要
|
|
action:
|
|
type: llm_generate
|
|
template: |
|
|
基于以上分析,生成一份结构化的会议纪要。
|
|
|
|
输出风格: {{output_style}}
|
|
|
|
纪要应包含:
|
|
1. 会议基本信息
|
|
2. 会议概要
|
|
3. 讨论要点
|
|
4. 决策事项
|
|
5. 待办事项清单
|
|
6. 下次会议安排(如有提及)
|
|
7. 附件/补充材料(如有)
|
|
|
|
分析数据:
|
|
- 基本信息: ${steps.extract_info.output}
|
|
- 讨论要点: ${steps.extract_discussion.output}
|
|
- 决策结论: ${steps.extract_decisions.output}
|
|
- 待办事项: ${steps.extract_todos.output}
|
|
|
|
请生成结构化的会议纪要内容。
|
|
input:
|
|
meeting_info: ${steps.extract_info.output}
|
|
discussion: ${steps.extract_discussion.output}
|
|
decisions: ${steps.extract_decisions.output}
|
|
todos: ${steps.extract_todos.output}
|
|
output_style: ${inputs.output_style}
|
|
json_mode: true
|
|
temperature: 0.6
|
|
max_tokens: 4000
|
|
|
|
# Step 6: 导出纪要
|
|
- id: export_summary
|
|
description: 导出会议纪要
|
|
action:
|
|
type: file_export
|
|
formats: ${inputs.export_formats}
|
|
input: ${steps.generate_summary.output}
|
|
|
|
# 输出映射
|
|
outputs:
|
|
meeting_topic: ${steps.extract_info.output.meeting_topic}
|
|
action_items: ${steps.extract_todos.output.action_items}
|
|
decisions: ${steps.extract_decisions.output.decisions}
|
|
summary: ${steps.generate_summary.output.summary}
|
|
export_files: ${steps.export_summary.output}
|
|
|
|
# 错误处理
|
|
on_error: stop
|
|
|
|
# 超时设置
|
|
timeout_secs: 180
|
|
|