自动完成「会议录音转写 → 会议纪要生成 → 待办事项提取」全流程。
python scripts/meeting_assistant.py full-pipeline meeting.mp3 \
--output ./output/ \
--title "产品周会" \
--language zh
输出三个文件:
{name}_transcript_{timestamp}.txt - 转写文本{name}_summary_{timestamp}.md - 会议纪要{name}_todos_{timestamp}.json - 待办事项# 仅转写
python scripts/meeting_assistant.py transcribe meeting.mp3 -o transcript.txt
# 仅生成纪要(需要先转写)
python scripts/meeting_assistant.py summarize transcript.txt -t "周会"
# 仅提取待办
python scripts/meeting_assistant.py extract-todos transcript.txt -o todos.json
# 设置 API Key(必需)
export ASTRONCLAW_API_KEY="your_api_key"
# 可选:自定义 API 地址
export ASTRONCLAW_API_BASE="https://api.astronclaw.com"
# 会议纪要
**会议主题**: 产品周会
**生成时间**: 2024-01-15T10:30:00
---
## 参会人员
- 张三(产品)
- 李四(开发)
- 王五(设计)
## 主要讨论
1. 新功能上线进度
2. 用户反馈处理
3. 下周计划
## 决议
- 周三前完成测试
- 周五上线 v2.1
{
"todos": [
{
"task": "完成登录模块测试",
"assignee": "李四",
"deadline": "周三",
"priority": "high",
"context": "需要在新版本上线前完成"
}
]
}
| 格式 | 扩展名 | 说明 |
|---|---|---|
| ------ | -------- | ------ |
| MP3 | .mp3 | 最常用 |
| WAV | .wav | 无损音质 |
| M4A | .m4a | Apple 设备常用 |
| WebM | .webm | 在线会议常用 |
| OGG | .ogg | 开源格式 |
| FLAC | .flac | 无损压缩 |
# 中文(默认)
--language zh
# 英文
--language en
# 日文
--language ja
# 韩文
--language ko
```bash
# 一键处理
python scripts/meeting_assistant.py full-pipeline recording.mp3 \
--title "$(date +%Y-%m-%d) 周会"
```
共 1 个版本