Skip to main content

Mode

Streaming workloads sit on a spectrum between two competing goals: returning transcripts as fast as possible, and returning the most accurate transcripts possible. To make this tradeoff explicit, every streaming model supports a mode connection parameter you can set when opening a streaming session. On AssemblyAI-STT-3.7-Realtime, turn detection is tuned for transcript segmentation rather than voice-agent turn-taking (see Turn detection on AssemblyAI-STT-3.7-Realtime). Set the mode connection parameter when you open the WebSocket.

Language selection

By default, streaming is multilingual and code-switches natively across all supported languages with no configuration. The language_codes connection parameter steers the model toward the languages you list. It is a bias, not a filter.
  • One language: when you know the session is in one language, pass it as a single-element list (for example, ["es"]). This is the most reliable setting.
  • More than one possible language: omit language_codes. With several codes, speech in one listed language can come out in another, especially accented speech.
See Multilingual transcription for the full feature guide, including supported languages, language detection, and updating language_codes mid-stream.

Turn detection

The model detects the end of a turn using the transcript rather than silence alone. The mode preset sets the defaults, and every turn detection parameter can be overridden on the connection or updated mid-stream to tune endpointing for your use case.
  • Raise min_turn_silence when brief pauses end turns too early, for example while a caller dictates a phone number. Raise max_turn_silence when you expect longer pauses within a turn.
  • Lower vad_threshold when quiet speech is missed. When background noise causes false interruptions, raise vad_threshold, increase interruption_delay, or enable Voice Focus.
See Turn detection for the full feature guide, including the turn lifecycle, entity capture, and bringing your own turn detection.