Interface AgentOptions<UserData>

interface AgentOptions<UserData> {
    allowInterruptions?: boolean;
    chatCtx?: ChatContext;
    instructions: string;
    llm?: llm.LLM | llm.RealtimeModel;
    minConsecutiveSpeechDelay?: number;
    stt?: stt.STT;
    tools?: ToolContext<UserData>;
    tts?: tts.TTS;
    turnDetection?: TurnDetectionMode;
    vad?: VAD;
}

Type Parameters

  • UserData

Properties

allowInterruptions?: boolean
chatCtx?: ChatContext
instructions: string
minConsecutiveSpeechDelay?: number
stt?: stt.STT
tts?: tts.TTS
turnDetection?: TurnDetectionMode
vad?: VAD