Class that manages and manipulates previous chat messages. It extends from the BaseChatMemory class and implements the CombinedMemoryInput interface.
Optional
Checks if input keys are set for all memory objects. Logs a warning if any are missing.
Checks for repeated memory variables across all memory objects. Throws an error if any are found.
Clears all memory objects.
Promise that resolves when all memory objects have been cleared.
Loads memory variables from all memory objects.
Input values to load memory variables from.
Promise that resolves with an object containing the loaded memory variables.
Saves the context to all memory objects.
Input values to save.
Output values to save.
Promise that resolves when the context has been saved to all memory objects.
Generated using TypeDoc
Class that manages and manipulates previous chat messages. It extends from the BaseChatMemory class and implements the CombinedMemoryInput interface.