Class BaseSingleActionAgentAbstract

Abstract base class for single action agents in LangChain. Extends the BaseAgent class and provides additional functionality specific to single action agents.

Hierarchy

Constructors

  • Parameters

    • Optional kwargs: SerializedFields
    • Rest ..._args: never[]

    Returns BaseSingleActionAgent

Properties

ToolType: StructuredTool<ZodObject<any, any, any, any, {}>>

Accessors

Methods

  • Prepare the agent for output, if needed

    Parameters

    • _returnValues: Record<string, any>
    • _steps: AgentStep[]

    Returns Promise<Record<string, any>>

  • Returns Serialized

Generated using TypeDoc