Class representing the AutoGPT concept with LangChain primitives. It is designed to be used with a set of tools such as a search tool, write-file tool, and a read-file tool.

Hierarchy

  • AutoGPT

Constructors

Properties

aiName: string
chain: LLMChain<string, LLMType>
fullMessageHistory: BaseMessage[]
maxIterations: number
nextActionCount: number
outputParser: AutoGPTOutputParser
textSplitter: TokenTextSplitter
tools: ObjectTool[]
feedbackTool?: Tool

Methods

  • Runs the AI with a given set of goals.

    Parameters

    • goals: string[]

      An array of strings representing the goals.

    Returns Promise<undefined | string>

    A string representing the result of the run or undefined if the maximum number of iterations is reached without a result.

Generated using TypeDoc