Interface defining the input for creating an agent. It includes the LLMChain instance, an optional output parser, and an optional list of allowed tools.

interface AgentInput {
    llmChain: LLMChain<string, any>;
    outputParser: undefined | AgentActionOutputParser;
    allowedTools?: string[];
}

Hierarchy (view full)

Properties

llmChain: LLMChain<string, any>
outputParser: undefined | AgentActionOutputParser
allowedTools?: string[]