Interface ChatMemory
- All Known Implementing Classes:
- MessageWindowChatMemory
public interface ChatMemory
The contract for storing and managing the memory of chat conversations.
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Thomas Vitale
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionvoidSave the specified messages in the chat memory for the specified conversation.default voidSave the specified message in the chat memory for the specified conversation.voidClear the chat memory for the specified conversation.Get the messages in the chat memory for the specified conversation.
- 
Field Details- 
DEFAULT_CONVERSATION_ID- See Also:
 
- 
CONVERSATION_IDThe key to retrieve the chat memory conversation id from the context.- See Also:
 
 
- 
- 
Method Details- 
addSave the specified message in the chat memory for the specified conversation.
- 
addSave the specified messages in the chat memory for the specified conversation.
- 
getGet the messages in the chat memory for the specified conversation.
- 
clearClear the chat memory for the specified conversation.
 
-