Skip to main content

Conversation Summary Memory

Use CiniterFlow database table chat_message as the storage mechanism for storing/retrieving conversations.

This memory type creates a brief summary of the conversation over time. This is useful for shortening information from long discussions. It updates and saves a current summary as the conversation goes on. This is especially helpful in longer chats, where saving every past message would take up too much space.

Input​

ParameterDescriptionDefault
Chat ModelLLM used to perform summarization
Session IdAn ID to retrieve/store messages. If not specified, a random ID will be used.
Memory KeyA key used to format messages in prompt templatechat_history