Optional
inputOptional
outputPredicts a new summary for the conversation given the existing messages and summary.
Existing messages in the conversation.
Current summary of the conversation.
A promise that resolves to a new summary string.
Saves the context of the conversation memory.
Input values for the conversation.
Output values from the conversation.
A promise that resolves when the context has been saved.
Generated using TypeDoc
Class that provides a concrete implementation of the conversation memory. It includes methods for loading memory variables, saving context, and clearing the memory.
Example