Skip to main content

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.

NameDisplay NameInfo
mem0_configMem0 ConfigurationInput parameter. The configuration dictionary for initializing the Mem0 memory instance.
ingest_messageMessage to IngestInput parameter. The message content to be ingested into Mem0 memory.
existing_memoryExisting Memory InstanceInput parameter. An optional existing Mem0 memory instance.
user_idUser IDInput parameter. The identifier for the user associated with the messages.
search_querySearch QueryInput parameter. The input text for searching related memories in Mem0.
mem0_api_keyMem0 API KeyInput parameter. The API key for the Mem0 platform. Leave empty to use the local version.
metadataMetadataInput parameter. The additional metadata to associate with the ingested message.
openai_api_keyOpenAI API KeyInput 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.

Search