Skip to main content
The STT layer transcribes participant speech in real time using automatic speech recognition (ASR). You can select a model optimized for your use case and language requirements.

STT models

Select an STT model using the stt_engine parameter in the layers.stt object. The following models are available:
tavus-auto is the default. Use it unless you have a specific language or domain requirement. It automatically routes to the best model for each conversation.

Choosing the right model

A language is listed for a model only if both STT and TTS coverage are available.
Using Smart Language Detection requires either tavus-auto, tavus-soniox, or tavus-whisper.

Configuring the STT layer

Define the STT layer under the layers.stt object.

stt_engine

Set the STT model for transcription:

hotwords

Use this to prioritize certain names or terms that are difficult to transcribe.
The above helps the model transcribe “Roey” correctly instead of “Rowie.”
Use hotwords for proper nouns, brand names, or domain-specific language that standard STT engines might struggle with.

Example configuration

Below is an example PAL with a configured STT layer using the recommended tavus-auto engine:
Refer to the Create PAL API for a complete list of supported fields.