twinmind-core-workflow-a
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTwinMind Core Workflow A: Meeting Transcription & Summary
TwinMind核心工作流A:会议转录与摘要
Contents
目录
Overview
概述
Primary workflow for capturing meetings, generating transcripts with speaker diarization, and creating AI summaries with action items.
用于录制会议、生成带说话人拆分的转录文本、以及生成包含待办事项的AI摘要的核心工作流。
Prerequisites
前置条件
- Completed setup
twinmind-install-auth - TwinMind Pro/Enterprise for API access
- Valid API credentials configured
- Audio source available (live or file)
- 已完成设置
twinmind-install-auth - 具备TwinMind专业版/企业版API访问权限
- 已配置有效的API凭证
- 可用的音频源(实时或文件形式)
Instructions
操作指引
Step 1: Initialize Meeting Capture
步骤1:初始化会议录制
Build a class with for real-time recording and for file-based transcription. Use Ear-3 model with auto language detection and speaker diarization.
MeetingCapturestartLiveCapture()transcribeRecording()构建类,包含用于实时录制的方法和用于文件转录的方法。使用支持自动语言检测和说话人拆分的Ear-3模型。
MeetingCapturestartLiveCapture()transcribeRecording()Step 2: Generate AI Summary
步骤2:生成AI摘要
Create a with (brief/detailed/bullet-points formats), , and methods.
SummaryGeneratorgenerateSummary()generateFollowUpEmail()generateMeetingNotes()创建类,包含(支持精简/详细/要点列表三种格式)、和方法。
SummaryGeneratorgenerateSummary()generateFollowUpEmail()generateMeetingNotes()Step 3: Handle Speaker Identification
步骤3:处理说话人识别
Build a that extracts speakers from transcript segments, calculates speaking time per speaker, and optionally matches speakers to calendar attendees.
SpeakerManager构建类,用于从转录片段中提取说话人、计算每个说话人的发言时长,还可选择将说话人与日历参会人进行匹配。
SpeakerManagerStep 4: Orchestrate Complete Workflow
步骤4:编排完整工作流
Wire everything together in : transcribe audio, then generate summary and identify speakers in parallel, optionally produce follow-up email and meeting notes.
processMeeting()See detailed implementation for complete MeetingCapture, SummaryGenerator, SpeakerManager, and orchestration code.
在中将所有模块串联:先转录音频,再并行生成摘要和识别说话人,还可选择生成跟进邮件和会议纪要。
processMeeting()完整的MeetingCapture、SummaryGenerator、SpeakerManager及编排代码请查看详细实现。
Output
输出内容
- Complete meeting transcript with timestamps
- Speaker-labeled segments
- AI-generated summary
- Extracted action items with assignees
- Optional follow-up email draft
- Optional formatted meeting notes
- 带时间戳的完整会议转录文本
- 标注说话人的片段
- AI生成的摘要
- 提取的待办事项及对应负责人
- 可选的跟进邮件草稿
- 可选的格式化会议纪要
Error Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Transcription timeout | Large audio file | Increase maxWaitMs or use async callback |
| Speaker match failed | No calendar data | Provide attendees list manually |
| Summary generation failed | Transcript too short | Ensure minimum 30s of audio |
| Audio format unsupported | Wrong codec | Convert to MP3/WAV/M4A |
| Rate limit exceeded | Too many requests | Implement queue-based processing |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 转录超时 | 音频文件过大 | 调大maxWaitMs参数或使用异步回调 |
| 说话人匹配失败 | 无日历数据 | 手动提供参会人列表 |
| 摘要生成失败 | 转录文本过短 | 确保音频时长最少30秒 |
| 音频格式不支持 | 编码格式错误 | 转换为MP3/WAV/M4A格式 |
| 超出请求频率限制 | 请求量过多 | 实现基于队列的处理逻辑 |
Examples
示例
Basic usage: Apply twinmind core workflow a to a standard project setup with default configuration options.
Advanced scenario: Customize twinmind core workflow a for production environments with multiple constraints and team-specific requirements.
基础用法:将TwinMind核心工作流A应用于使用默认配置选项的标准项目设置。
高级场景:针对存在多重约束和团队特定需求的生产环境,自定义TwinMind核心工作流A。
Audio Format Support
音频格式支持
| Format | Supported | Notes |
|---|---|---|
| MP3 | Yes | Recommended |
| WAV | Yes | Best quality |
| M4A | Yes | iOS recordings |
| WebM | Yes | Browser recordings |
| 格式 | 是否支持 | 说明 |
|---|---|---|
| MP3 | 是 | 推荐使用 |
| WAV | 是 | 最佳质量 |
| M4A | 是 | iOS录制格式 |
| WebM | 是 | 浏览器录制格式 |
Resources
资源
Next Steps
后续步骤
For action item extraction and follow-up automation, see .
twinmind-core-workflow-b如需了解待办事项提取和跟进自动化,请查看。
twinmind-core-workflow-b