Mode
Universal-3.5 Pro 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, Universal-3.5 Pro supports a mode connection parameter you can set when opening a streaming session.
Set the
mode connection parameter when you open the WebSocket.
- Python
- Python SDK
- Javascript
- JavaScript SDK
Language selection
By default, Universal-3.5 Pro Streaming is multilingual and code-switches natively across all supported languages with no configuration. When you know which languages a session will use, pass thelanguage_codes connection parameter to steer the model toward them and improve language accuracy.
- For a known subset, pass the codes you expect (for example,
["en", "es"]). The model still code-switches, but heavily biased to the languages you list. - For a monolingual session, pass a single-element list (for example,
["es"]). - For full multilingual, omit
language_codesto keep native code switching.
language_codes mid-stream.
Turn detection
Universal-3.5 Pro Streaming detects the end of a turn using acoustic and contextual cues rather than silence alone. Themode 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_silencewhen brief pauses end turns too early, for example while a caller dictates a phone number. Raisemax_turn_silencewhen you expect longer pauses within a turn. - Lower
vad_thresholdwhen quiet speech is missed. When background noise causes false interruptions, raisevad_threshold, increaseinterruption_delay, or enable Voice Focus.
Universal Streaming
Universal Streaming
Universal Streaming uses confidence-based turn detection. The model predicts when speech naturally ends; if confidence exceeds Balanced, for most conversational voice agents (customer support).Conservative, for reflective or complex speech (healthcare, sales, legal).Disabling turn detectionIf you’re using your own VAD or turn detection model, send a Or set
end_of_turn_confidence_threshold and min_turn_silence has passed, the turn ends. Acoustic (silence-based) detection kicks in as a fallback after max_turn_silence.Quick-start configurationsAggressive, for short, rapid back-and-forth (IVR replacements, order confirmations).
ForceEndpoint event to force a turn boundary:end_of_turn_confidence_threshold to 1 (acoustic-only fallback) or 0 (silence-only). Setting it to 0 is not recommended unless you have a custom turn detection model running on top, because it forces a turn at every min_turn_silence-length pause and fragments mid-sentence thinking pauses.