Skip to main content
Choose how Anam transcribes user speech and configure how eagerly your persona responds via 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 set voiceDetectionOptions.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 languageCode is omitted, empty, null, or inherit, 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.
Set an explicit languageCode when you need to guarantee a specific STT provider. If your organization default changes to a language that the saved provider does not support, Anam ignores that provider selection for inherited-language sessions and uses the platform default provider instead. The session still starts, and the saved persona configuration is not changed.
To resolve an inherited-language mismatch, choose a supported language explicitly, select another provider, or contact Anam support to change your organization default. See Multilingual Support for language configuration details.
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.
These settings can be set when creating or updating a persona. See the API Reference for details.
Last modified on August 26, 2026