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.
AstraDBChatMemory Component
This component creates anAstraDBChatMessageHistory instance, which stores and retrieves chat messages using Astra DB, a cloud-native database service.
Parameters
Parameters
Inputs
Outputs
CassandraChatMemory Component
This component creates aCassandraChatMessageHistory instance, enabling storage and retrieval of chat messages using Apache Cassandra or DataStax Astra DB.
Parameters
Parameters
Redis Chat Memory
This component retrieves and stores chat messages from Redis.Parameters
Parameters
Inputs
Outputs