Agent for the MRKL chain.

Use the method instead.

Hierarchy (view full)

  • Agent
    • ChatConversationalAgent

Constructors

Properties

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

Accessors

Methods

  • Constructs the agent scratchpad based on the agent steps. It returns an array of base messages representing the thoughts of the agent.

    Parameters

    • steps: AgentStep[]

      The agent steps to construct the scratchpad from.

    Returns Promise<BaseMessage[]>

    An array of base messages representing the thoughts of the agent.