mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 10:05:26 -04:00
[PR #238] [MERGED] Add mem0 filter to examples #352
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:main📝 Commits (1)
e723370Add mem0 filter example📊 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.