Optional agentOptional agentWhen the model supports it, let an AgentSession push each assistant reply into
agentContext so it is carried into the model's conversation context. Defaults to true for
Universal-3 Pro models; set false to disable. Prior user turns are carried automatically by
the model regardless of this flag. Ignored on models without context support.
Optional apiHow large each chunk of audio is before being sent to AssemblyAI, in
milliseconds. Corresponds to Python's buffer_size_seconds (seconds there,
ms here per this repo's time-unit convention).
Optional continuousEmit additional partial transcripts during long turns. Universal-3 Pro only.
Optional domainOptional endOptional filterFilter profanity from transcripts. Connect-time only.
Optional formatOptional inactivitySession inactivity timeout in seconds. AssemblyAI accepts integer values from 5 to 3600; when unset, no inactivity timeout is applied.
Optional includeEmit partial (non-final) turns. AssemblyAI defaults this to true, or false when redactPii
is enabled. Connect-time only.
Optional interruptionDelay before the first early partial is emitted, in milliseconds. Universal-3 Pro only.
Optional keytermsOptional languageLanguages to steer transcription toward. Universal-3 Pro only.
Optional languageOptional maxOptional maxMaximum silence (ms) before end-of-turn is forced regardless of confidence.
Optional minMinimum silence (ms) before a confident end-of-turn is finalized.
Optional modeAccuracy/latency preset for the Universal-3 Pro model family: min_latency, balanced,
or max_accuracy. Explicit turn-silence values still take precedence over mode defaults.
Optional previousOnly supported with the Universal-3 Pro model family. Set at connection time only.
Optional promptOnly supported with the Universal-3 Pro model family.
Optional redactRedact PII from final turns. AssemblyAI disables partial turns when this is enabled unless
includePartialTurns is set; partials are never redacted. Connect-time only.
Optional redactPII policies to redact, such as person_name or phone_number. Redacts all detected PII
when unset. Requires redactPii. Connect-time only.
Optional redactReplacement for redacted PII: hash (AssemblyAI default) or entity_name, which writes
[PERSON_NAME]-style placeholders. Requires redactPii. Connect-time only.
Optional speakerEnable speaker diarization; the turn's speaker label is surfaced as speakerId.
Model selected at construction. Create a new STT to switch models.
Optional vadOptional voiceIsolate the primary voice and suppress background noise. Connect-time only.
Optional voiceBackground audio suppression aggressiveness, from 0.0 to 1.0. Connect-time only.
Only supported with the Universal-3 Pro model family.