Mem0
Bundles contain custom components that support specific third-party integrations with Langflow.
This page describes the components that are available in the Mem0 bundle.
Mem0 Chat Memory
The Mem0 Chat Memory component retrieves and stores chat messages using Mem0 memory storage.
Mem0 Chat Memory parameters
Many Mem0 Chat Memory component input parameters are hidden by default in the visual editor. You can toggle parameters through the Controls in the component's header menu.
Name | Display Name | Info |
---|---|---|
mem0_config | Mem0 Configuration | Input parameter. The configuration dictionary for initializing the Mem0 memory instance. |
ingest_message | Message to Ingest | Input parameter. The message content to be ingested into Mem0 memory. |
existing_memory | Existing Memory Instance | Input parameter. An optional existing Mem0 memory instance. |
user_id | User ID | Input parameter. The identifier for the user associated with the messages. |
search_query | Search Query | Input parameter. The input text for searching related memories in Mem0. |
mem0_api_key | Mem0 API Key | Input parameter. The API key for the Mem0 platform. Leave empty to use the local version. |
metadata | Metadata | Input parameter. The additional metadata to associate with the ingested message. |
openai_api_key | OpenAI API Key | Input parameter. The API key for OpenAI. Required when using OpenAI embeddings without a provided configuration. |
Mem0 Chat Memory output
The Mem0 Chat Memory component can output either Mem0 Memory (Memory
) or Search Results (Data
).
You can select the output type near the component's output port.
Use Mem0 Chat Memory for memory storage and retrieval operations with the Message History component.
Use the Search Results output to retrieve specific memories based on a search query.