langchain.js
    Preparing search index...

    Interface InitializeAgentExecutorOptionsStructured

    interface InitializeAgentExecutorOptionsStructured {
        agentArgs?:
            | StructuredChatCreatePromptArgs & AgentArgs
            | OpenAIAgentCreatePromptArgs & Pick<AgentArgs, "callbacks">;
        agentType:
            | "structured-chat-zero-shot-react-description"
            | "openai-functions";
        callbackManager?: any;
        earlyStoppingMethod?: StoppingMethod;
        handleParsingErrors?: string
        | boolean
        | ((e: any) => string);
        handleToolRuntimeErrors?: (e: Error) => string;
        maxIterations?: number;
        memory?: any;
        returnIntermediateSteps?: boolean;
    }
    Index

    Properties

    agentArgs?:
        | StructuredChatCreatePromptArgs & AgentArgs
        | OpenAIAgentCreatePromptArgs & Pick<AgentArgs, "callbacks">
    agentType: "structured-chat-zero-shot-react-description" | "openai-functions"
    callbackManager?: any

    Use callbacks instead

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