UserState
States describing the user’s current speech activity in a session.AgentState
Lifecycle and activity states of the agent during a session.SpeechEventType
Types of speech-related events emitted during transcription.VADEventType
Types of voice activity detection events.EOUConfig
Configuration for end-of-utterance (EOU) detection.Fields
Detection strategy, either
'ADAPTIVE' or 'DEFAULT'.Minimum and maximum wait times, in seconds, before concluding that the user has finished speaking.
InterruptConfig
Configuration controlling how user interruptions of the agent are detected and handled.Fields
Detection strategy, one of
'VAD_ONLY', 'STT_ONLY' or 'HYBRID'.Minimum speech duration, in seconds, required to count as an interruption.
Minimum number of recognized words required to count as an interruption.
Minimum transcription confidence required to count as an interruption.
Pause duration, in seconds, used when an interruption is later judged to be false.
Whether to resume the agent’s response after a false interruption.
Pause duration in milliseconds applied on a false interruption.
Audio fade-out duration, in seconds, applied when an interruption occurs.
Audio fade-out duration in milliseconds applied when an interruption occurs.
RealtimeConfig
Configuration for a realtime model session.Fields
The realtime operating mode, one of
'full_s2s', 'hybrid_stt', 'hybrid_tts' or 'llm_only', or None to use the default.The output modalities the model should produce, or
None for the default.