docs: add Whisper speech-to-text capability

This commit is contained in:
root
2026-03-30 02:43:24 +08:00
parent 7ce166affb
commit 0247020c82
7 changed files with 26 additions and 0 deletions

View File

@@ -144,6 +144,19 @@ bash scripts/dingtalk_tts.sh "要说的内容"
**注意**: duration 参数使用秒(整数),不是毫秒
## 语音识别Whisper
**命令**: `whisper <音频文件> --language Chinese --model small`
**支持格式**: AMR, OGG, MP3, WAV 等ffmpeg 支持的格式)
**用途**: 用户发来的语音消息 → 用 Whisper 转文字 → 处理回复
**示例**:
```bash
whisper /root/.openclaw/workspace-assistant/media/inbound/audio-xxx.ogg --language Chinese --model small
```
## ⚠️ 邮件操作安全规则
**只读不删!** 严禁执行任何删除邮件的操作,包括但不限于: