correct_transcription
Correct errors in speech-to-text transcriptions using LLM. Choose semantic mode for context-aware fixes or reference mode to align with a standard reference text.
Instructions
调用当前会话的 LLM 对转写文本进行纠错。调用前应先询问用户是否需要纠错及使用哪种模式。
若当前 MCP 客户端支持 Sampling,则由服务端请求客户端 LLM 完成纠错; 若不支持(多数客户端的现状),则返回现成的纠错提示词, 当前会话的 LLM 应直接按提示词完成纠错并把结果返回给用户。
Args: transcription_text: 需要纠错的转写文本 correction_mode: 纠错模式。semantic=结合语义/专业术语/互联网资料纠错(默认),reference=对照标准文本纠错 reference_text: 标准参考文本(reference 模式必填,一般用于字幕制作场景)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference_text | No | ||
| correction_mode | No | semantic | |
| transcription_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |