Interface InitializeAgentExecutorOptionsStructured

interface InitializeAgentExecutorOptionsStructured {
    agentArgs?: StructuredChatCreatePromptArgs & AgentArgs | OpenAIAgentCreatePromptArgs & Pick<AgentArgs, "callbacks">;
    agentType: "structured-chat-zero-shot-react-description" | "openai-functions";
    callbackManager?: CallbackManager;
    callbacks?: Callbacks;
    earlyStoppingMethod?: StoppingMethod;
    handleParsingErrors?: string | boolean | ((e: OutputParserException | ToolInputParsingException) => string);
    handleToolRuntimeErrors?: ((e: Error) => string);
    maxIterations?: number;
    memory?: BaseMemory;
    metadata?: Record<string, unknown>;
    returnIntermediateSteps?: boolean;
    tags?: string[];
    verbose?: boolean;
}

Properties

agentType: "structured-chat-zero-shot-react-description" | "openai-functions"
callbackManager?: CallbackManager

Use callbacks instead

callbacks?: Callbacks
earlyStoppingMethod?: StoppingMethod
handleParsingErrors?: string | boolean | ((e: OutputParserException | ToolInputParsingException) => string)
handleToolRuntimeErrors?: ((e: Error) => string)
maxIterations?: number
memory?: BaseMemory
metadata?: Record<string, unknown>
returnIntermediateSteps?: boolean
tags?: string[]
verbose?: boolean