Memory used to save agent output and intermediate steps.

Hierarchy (view full)

Constructors

Properties

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

Accessors

Methods