Class representing a single action agent which accepts runnables. Extends the BaseMultiActionAgent class and provides methods for planning agent actions with runnables.

Hierarchy

Constructors

Properties

ToolType: StructuredToolInterface
runnable: Runnable<any, any>
stop?: string[]

Accessors

  • get allowedTools(): undefined | string[]
  • Returns undefined | string[]

Methods

  • Decide what to do, given some input.

    Parameters

    • steps: AgentStep[]

      Steps the LLM has taken so far, along with observations from each.

    • inputs: ChainValues

      User inputs.

    • Optional callbackManager: any

      Callback manager.

    Returns Promise<any>

    Actions specifying what tools to use.

Generated using TypeDoc