voiceDetectionOptions in the persona config.
Choose a speech-to-text provider
In the Anam Lab, open your persona’s Advanced settings and choose an STT Provider under Voice Detection. You can also setvoiceDetectionOptions.sttProvider when you create or update a persona, or in an ephemeral personaConfig when requesting a session token.
Language compatibility
The STT provider and transcription language must be compatible:- If you choose an explicit unsupported
languageCode, the Lab disables the combination and the API rejects it. - If
languageCodeis omitted, empty,null, orinherit, the persona uses your organization’s default transcription language. - The Lab evaluates Inherit from org default against the current organization default and marks incompatible provider or language options as unavailable.
sttProvider applies only to full-pipeline sessions and is selected when the session starts. It is not supported with audio passthrough or avatar-only transports, which do not run Anam speech-to-text, and it cannot be switched with a mid-session voice detection update.Options
Setting
silenceBeforeSkipTurnSeconds to 0 disables turn skip — the persona will not prompt a quiet user. Setting silenceBeforeSessionEndSeconds to 0 disables automatic session end on silence.
