[PR #238] [MERGED] Add mem0 filter to examples #352

Closed
opened 2026-02-15 20:15:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/238
Author: @annk15
Created: 8/23/2024
Status: Merged
Merged: 9/17/2024
Merged by: @tjbck

Base: mainHead: main


📝 Commits (1)

📊 Changes

1 file changed (+140 additions, -0 deletions)

View changed files

examples/filters/mem0_memory_filter_pipeline.py (+140 -0)

📄 Description

I have created a new filter which shows how the mem0 framework can be used to give an LLM a long term memory.
This specific example depends on ollama, qdrant services to work but it should be easy to customize to use other services if the user wants. The example exposes some variables through valves which allows the user to customize the services but also some of the code logic like number of cycles before the text is processed by mem0.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/238 **Author:** [@annk15](https://github.com/annk15) **Created:** 8/23/2024 **Status:** ✅ Merged **Merged:** 9/17/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`e723370`](https://github.com/open-webui/pipelines/commit/e7233709c8977552fca91a0a133c0a1c08ac7c79) Add mem0 filter example ### 📊 Changes **1 file changed** (+140 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/filters/mem0_memory_filter_pipeline.py` (+140 -0) </details> ### 📄 Description I have created a new filter which shows how the mem0 framework can be used to give an LLM a long term memory. This specific example depends on ollama, qdrant services to work but it should be easy to customize to use other services if the user wants. The example exposes some variables through valves which allows the user to customize the services but also some of the code logic like number of cycles before the text is processed by mem0. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:13 -05:00
yindo closed this issue 2026-02-15 20:15:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#352