Memory used to save agent output and intermediate steps.

Hierarchy (view full)

Constructors

Properties

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

Accessors

Methods