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