Interface InitializeAgentExecutorOptions

interface InitializeAgentExecutorOptions {
    agentType:
        | "xml"
        | "zero-shot-react-description"
        | "chat-zero-shot-react-description"
        | "chat-conversational-react-description";
    agentArgs?:
        | ChatCreatePromptArgs & AgentArgs
        | ChatConversationalCreatePromptArgs & AgentArgs
        | ZeroShotCreatePromptArgs & AgentArgs
        | XMLAgentInput & Pick<AgentArgs, "callbacks">;
    callbackManager?: any;
    earlyStoppingMethod?: StoppingMethod;
    handleParsingErrors?: string | boolean | ((e: any) => string);
    maxIterations?: number;
    memory?: any;
    returnIntermediateSteps?: boolean;
}

Properties

agentType:
    | "xml"
    | "zero-shot-react-description"
    | "chat-zero-shot-react-description"
    | "chat-conversational-react-description"
callbackManager?: any

Use callbacks instead

earlyStoppingMethod?: StoppingMethod
handleParsingErrors?: string | boolean | ((e: any) => string)
maxIterations?: number
memory?: any
returnIntermediateSteps?: boolean
""