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 {
    allowedTools?: string[];
    llmChain: LLMChain<string, LLMType>;
    outputParser: undefined | AgentActionOutputParser;
}

Hierarchy (view full)

Properties

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