Optional aec3000
Optional connOptional llm?: llm.LLM | llm.RealtimeModel | LLMModelsOptional maxOptional preemptiveWhether to speculatively begin LLM and TTS requests before an end-of-turn is detected.
When true, the agent sends inference calls as soon as a user transcript is received rather
than waiting for a definitive turn boundary. This can reduce response latency by overlapping
model inference with user audio, but may incur extra compute if the user interrupts or
revises mid-utterance.
true
Optional stt?: stt.STT | STTModelStringOptional tts?: tts.TTS | TTSModelStringOptional turnuse turnHandling.turnDetection instead
Optional turnConfiguration for turn handling.
Optional useOptional userIf set, set the user state as "away" after this amount of time after user and agent are
silent. Set to null to disable.
15.0
Optional userOptional vad?: VADOptional voiceuse top-level SessionOptions fields instead
Duration in milliseconds for AEC (Acoustic Echo Cancellation) warmup, during which interruptions from audio activity are suppressed. Set to
nullto disable.