Skip to main content
Bot platform adapters ship in the praisonai-bot package. praisonai bot serve still works exactly as documented here; for a standalone install see praisonai-bot Migration.
Voice notes sent to your bot are transcribed and handed to the agent as plain text — on by default, with a visible placeholder when transcription is off or fails.
The user taps the microphone and sends a voice note; the bot transcribes it with whisper-1 and the agent replies to the recognised text.

Quick Start

1

Level 1 — Bool shorthand

STT is on by default. Turn it off per channel with stt: false.
2

Level 2 — Dict

Tune behaviour with a dict — echo the transcript, force a language, or override the model.
3

Level 3 — SttConfigSchema

Build the channel config in Python with the validated schema.

How It Works

The adapter downloads the voice note, transcribes it, and forwards the transcript — never dropping the turn.

Configuration Options

Fields from SttConfigSchema / SttConfig. The bare shorthand stt: true / stt: false is accepted as {"enabled": <bool>}.

Choosing a configuration


Per-Platform YAML


When STT Is Off or Fails

Voice notes were previously dropped silently when transcription was unavailable. Now the adapter substitutes the [Voice message received] placeholder so the agent always gets the turn — it can ask the user to retype, fall back to another channel, or acknowledge the message.
See fixed issue #2721 for context.

Best Practices

Forcing language: en (or the relevant code) improves transcription accuracy and speed over auto-detection.
echo_transcripts: true sends the recognised text back to the user so they can confirm what the bot heard — helpful for accessibility and correcting mis-hearings.
Turn STT off where voice content must not leave the device or reach a third-party STT provider.
The [Voice message received] placeholder means the agent still gets the turn when transcription is off or fails. Give the agent instructions to handle that case gracefully.

Inbound Media

Forward user photos and documents to your agent’s vision capability

Audio Tools

stt_tool, tts_tool, and AudioAgent.transcribe

Chat Commands

Built-in and custom bot chat commands

Gateway

Unified gateway and control-plane overview