Bỏ qua để đến nội dung

Giọng nói Telegram local

Telegram voice local mode giúp xử lý voice message riêng tư hơn: Bestie tải voice file, convert Ogg/Opus sang WAV, chạy whisper.cpp, đưa transcript có giới hạn vào agent, rồi xóa raw audio nếu cấu hình yêu cầu.

.bestie/tools/whisper-bin/whisper-cli
.bestie/tools/local-whisper-transcribe.sh
.bestie/models/ggml-small.bin
Terminal window
bestie telegram voice setup-local
bestie telegram voice models
bestie telegram voice download-model small
bestie telegram voice download-model small --confirm --use
{
"transcription": {
"provider": "local-whisper",
"command": ".bestie/tools/local-whisper-transcribe.sh",
"args": ["{modelPath}", "{audioPath}", "-l", "vi"],
"modelPath": ".bestie/models/ggml-small.bin",
"timeoutMs": 120000
}
}

Với tiếng Việt, ggml-small.bin là baseline thực tế hơn ggml-tiny.bin.

Terminal window
bestie doctor
bestie telegram --once --transcript .bestie/logs/telegram-local-voice-smoke.jsonl

Transcript smoke không được chứa raw message text, transcript text, file ids, paths, owner ids, chat ids, bot token hoặc provider secrets.