mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 16:43:27 +08:00
* fix: nightly now properly gets 1.9.0 branch (#12215) before it was attempting to pull release-notes as letters are alphanumerically after numbers when we sort -V then grab tail now we only look at branch names that follow the pattern '^release-[0-9]+\.[0-9]+\.[0-9]+$' * docs: add search icon (#12216) add-back-svg * initial-content * cut-1.8-release-and-include-next-version * stage-1.8.0-and-next --------- Co-authored-by: Adam-Aghili <149833988+Adam-Aghili@users.noreply.github.com>
39 lines
2.0 KiB
Plaintext
39 lines
2.0 KiB
Plaintext
---
|
|
title: Mem0
|
|
slug: /bundles-mem0
|
|
---
|
|
|
|
import Icon from "@site/src/components/icon";
|
|
import PartialParams from '@site/docs/_partial-hidden-params.mdx';
|
|
|
|
<Icon name="Blocks" aria-hidden="true" /> [**Bundles**](/components-bundle-components) 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
|
|
|
|
<PartialParams />
|
|
|
|
| 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`](/data-types#memory)) or **Search Results** ([`Data`](/data-types#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](/message-history).
|
|
|
|
Use the **Search Results** output to retrieve specific memories based on a search query. |