Interface AgentExecutorInput

Interface defining the structure of input data for creating an AgentExecutor. It extends ChainInputs and includes additional properties specific to agent execution.

Hierarchy

Properties

agent: BaseSingleActionAgent | BaseMultiActionAgent | Runnable<ChainValues & {
    steps?: AgentStep[];
}, AgentAction | AgentFinish | AgentAction[], BaseCallbackConfig>
tools: (StructuredTool<ZodObject<any, any, any, any, {}>> | StructuredTool<ZodObject<any, any, any, any, {}>>)[]
callbackManager?: CallbackManager

Deprecated

Use callbacks instead

earlyStoppingMethod?: StoppingMethod
handleParsingErrors?: string | boolean | ((e) => string)

Type declaration

    • (e): string
    • Parameters

      • e: OutputParserException | ToolInputParsingException

      Returns string

maxIterations?: number
memory?: BaseMemory
returnIntermediateSteps?: boolean

Generated using TypeDoc