Class that manages and manipulates previous chat messages. It extends from the BaseChatMemory class and implements the CombinedMemoryInput interface.

Hierarchy (view full)

Implements

Constructors

Properties

aiPrefix: string = "AI"
chatHistory: BaseChatMessageHistory
humanPrefix: string = "Human"
inputKey?: string
memories: BaseMemory[] = []
memoryKey: string = "history"
outputKey?: string
returnMessages: boolean = false

Accessors

Methods