Agent for the MRKL chain.

Hierarchy

Constructors

Properties

ToolType: Tool
llmChain: LLMChain<string, LLMType>
outputParser: undefined | AgentActionOutputParser

Accessors

Methods

  • Constructs the agent's scratchpad, which is a string representation of the agent's previous steps.

    Parameters

    • steps: AgentStep[]

      Array of AgentStep instances representing the agent's previous steps.

    Returns Promise<string>

    Promise resolving to a string representing the agent's scratchpad.

Generated using TypeDoc