Class LLMSingleActionAgent

Class representing a single action agent using a LLMChain in LangChain. Extends the BaseSingleActionAgent class and provides methods for planning agent actions based on LLMChain outputs.

Hierarchy

Constructors

Properties

ToolType: StructuredTool<ZodObject<any, any, any, any, {}>>
llmChain: LLMChain<string, LLMType>
stop?: string[]

Accessors

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

Methods

Generated using TypeDoc