Build WorkflowsIntegrationsLangChainMemoryConversation Summary Buffer Memory

Conversation Summary Buffer Memory

🚀

Enhanced

Direct integration with Langfuse tracing

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

This memory keeps a buffer of recent interactions and compiles old ones into a summary, using both in its storage. Instead of flushing old interactions based solely on their number, it now considers the total length of tokens to decide when to clear them out.

Input

ParameterDescriptionDefault
Chat ModelLLM used to perform summarization
Max Token LimitSummarize conversations once token limit is reached2000
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