Properties
aiPrefix
aiPrefix: string = "AI"
chatHistory
chatHistory: BaseChatMessageHistory
humanPrefix
humanPrefix: string = "Human"
memories
memories: BaseMemory[] = []
memoryKey
memoryKey: string = "history"
returnMessages
returnMessages: boolean = false
Optional
inputKey
inputKey?: string
Optional
outputKey
outputKey?: string
Class that manages and manipulates previous chat messages. It extends from the BaseChatMemory class and implements the CombinedMemoryInput interface.