Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Mem0 Memory Node #4213

Merged
merged 3 commits into from
Mar 31, 2025
Merged

Conversation

whysosaket
Copy link
Contributor

@whysosaket whysosaket commented Mar 21, 2025

Adds Mem0 Memory Node on Top of Buffer Memory

  • Mem0 is a self-improving memory layer for LLM applications and AI Agents
  • Implementation of Mem0 differs from that of other implementation, while other memory providers treat Chat History as Memory, Mem0 acts as in independent memory layer on top of Buffer Memory to provide facts about the entity.
Screenshot 2025-03-21 at 7 59 44 PM

@toi500
Copy link
Contributor

toi500 commented Mar 21, 2025

Very needed. Thank you for this.

@whysosaket
Copy link
Contributor Author

Very needed. Thank you for this.

Yup! It should be available soon

@whysosaket
Copy link
Contributor Author

whysosaket commented Mar 22, 2025

Hey @chungyau97 @toi500, we're almost done with the integration.

Just needed some clarity for better consumer experience. Is there a way to get the hold of inputMessage inside of getChatMessages ? This would allow us to perform the search operation from Mem0 which fetches better and more relevant memories. Right now we return all memories that the user has, which is not the best solution.

Wanted to know if there is a way to get this without changing the base class.

Thanks

@edvinPL
Copy link

edvinPL commented Mar 28, 2025

Hey @chungyau97 @toi500, we're almost done with the integration.

You could potentially use $flow.input ?
Screenshot_20250328_120131_com android chrome~2

@chungyau97
Copy link
Contributor

chungyau97 commented Mar 28, 2025

Hi @whysosaket,

Could you add Mem0's documentation (including description and setup process) to FlowiseAI's documentation under memory?

Once the documentation is added, I will merge it.

Everything is working as expected, as shown in the screenshots below.
image
image

@chungyau97 chungyau97 marked this pull request as ready for review March 28, 2025 13:37
@whysosaket
Copy link
Contributor Author

Hi @chungyau97,

I have added the docs. See here: FlowiseAI/FlowiseDocs#159

Let me know if any other changes are required.

@chungyau97 chungyau97 merged commit 13fce45 into FlowiseAI:main Mar 31, 2025
2 checks passed
@KaliLinuxPentest
Copy link

Can you write appropriate Use cases for this tool? I don't really understand how I should use it yet....

JJK801 pushed a commit to JJK801/Flowise that referenced this pull request Apr 9, 2025
* Adds Mem0 Memory Node

* fix: update pnpm-lock.yaml

---------

Co-authored-by: Ong Chung Yau <[email protected]>
Co-authored-by: chungyau97 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants