Memory used to save agent output and intermediate steps.

Hierarchy

Constructors

Properties

aiPrefix: string = "AI"
humanPrefix: string = "Human"
intermediateStepsKey: string = "intermediateSteps"
maxTokenLimit: number = 12000
memoryKey: string = "history"
outputKey: string = "output"
returnMessages: boolean = true
inputKey?: string

Accessors

Methods

  • Method to clear the chat history.

    Returns Promise<void>

    Promise that resolves when the chat history has been cleared.

Generated using TypeDoc