Interface AgentOptions<UserData>

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

Type Parameters

  • UserData

Properties

allowInterruptions?: boolean
chatCtx?: ChatContext
instructions: string
minConsecutiveSpeechDelay?: number
turnDetection?: TurnDetectionMode
vad?: VAD