Skip to main content
Memory components store and retrieve chat messages. They are distinct from vector store components because they are built specifically for storing and retrieving chat messages from external databases. Memory components provide access to their respective external databases as memory. This allows Large Language Models (LLMs) or agents to access external memory for persistence and context retention.

Use a memory component in a flow

This example flow stores and retrieves chat history from an LLMC Vector DB Chat Memory component with Store Message and Message history components. The Store Message helper component stores chat memories as Data objects, and the Message History helper component retrieves chat messages as Data objects or strings. Now Pn

AstraDBChatMemory Component

This component creates an AstraDBChatMessageHistory instance, which stores and retrieves chat messages using Astra DB, a cloud-native database service.
InputsOutputs

CassandraChatMemory Component

This component creates a CassandraChatMessageHistory instance, enabling storage and retrieval of chat messages using Apache Cassandra or DataStax Astra DB.
InputsOutputs

Mem0 Chat Memory

Redis Chat Memory

This component retrieves and stores chat messages from Redis.
InputsOutputs