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

Properties

ToolType: StructuredTool<ZodObject<any, any, any, any, {}>>
lc_namespace: string[]

A path to the module that contains the class, eg. ["langchain", "llms"] Usually should be the same as the entrypoint the class is exported from.

Accessors

Methods

  • Prepare the agent for output, if needed

    Parameters

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

    Returns Promise<Record<string, any>>

Generated using TypeDoc