STT models
Select an STT model using thestt_engine parameter in the layers.stt object. The following models are available:
Choosing the right model
A language is listed for a model only if both STT and TTS coverage are available.Smart Language Detection requires either
tavus-auto, tavus-soniox, or tavus-whisper. Name the languages it detects with languages.Which languages get heard
languages is what decides that. Set it on the PAL, or on a single conversation, and those are the languages STT listens for:
tavus-auto, Tavus then picks a model that covers your whole set, so you do not have to match engines to languages yourself.
With languages set on neither the PAL nor the conversation, the conversation runs in English, the same as sending ["en"].
See Language support for the full list and the accepted values.
Configuring the STT layer
Define the STT layer under thelayers.stt object.
stt_engine
Set the STT model for transcription:
hotwords
Use this to prioritize certain names or terms that are difficult to transcribe.
Example configuration
Below is an example PAL with a configured STT layer using the recommendedtavus-auto engine:
Refer to the Create PAL API for a complete list of supported fields.

