twinmind-core-workflow-a

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

TwinMind 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
    twinmind-install-auth
    setup
  • 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
MeetingCapture
class with
startLiveCapture()
for real-time recording and
transcribeRecording()
for file-based transcription. Use Ear-3 model with auto language detection and speaker diarization.
构建
MeetingCapture
类,包含用于实时录制的
startLiveCapture()
方法和用于文件转录的
transcribeRecording()
方法。使用支持自动语言检测和说话人拆分的Ear-3模型。

Step 2: Generate AI Summary

步骤2:生成AI摘要

Create a
SummaryGenerator
with
generateSummary()
(brief/detailed/bullet-points formats),
generateFollowUpEmail()
, and
generateMeetingNotes()
methods.
创建
SummaryGenerator
类,包含
generateSummary()
(支持精简/详细/要点列表三种格式)、
generateFollowUpEmail()
generateMeetingNotes()
方法。

Step 3: Handle Speaker Identification

步骤3:处理说话人识别

Build a
SpeakerManager
that extracts speakers from transcript segments, calculates speaking time per speaker, and optionally matches speakers to calendar attendees.
构建
SpeakerManager
类,用于从转录片段中提取说话人、计算每个说话人的发言时长,还可选择将说话人与日历参会人进行匹配。

Step 4: Orchestrate Complete Workflow

步骤4:编排完整工作流

Wire everything together in
processMeeting()
: transcribe audio, then generate summary and identify speakers in parallel, optionally produce follow-up email and meeting notes.
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

错误处理

ErrorCauseSolution
Transcription timeoutLarge audio fileIncrease maxWaitMs or use async callback
Speaker match failedNo calendar dataProvide attendees list manually
Summary generation failedTranscript too shortEnsure minimum 30s of audio
Audio format unsupportedWrong codecConvert to MP3/WAV/M4A
Rate limit exceededToo many requestsImplement 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

音频格式支持

FormatSupportedNotes
MP3YesRecommended
WAVYesBest quality
M4AYesiOS recordings
WebMYesBrowser recordings
格式是否支持说明
MP3推荐使用
WAV最佳质量
M4AiOS录制格式
WebM浏览器录制格式

Resources

资源

Next Steps

后续步骤

For action item extraction and follow-up automation, see
twinmind-core-workflow-b
.
如需了解待办事项提取和跟进自动化,请查看
twinmind-core-workflow-b