Skip to content

Update mem0 cookbook#288

Open
sjrl wants to merge 2 commits into
mainfrom
update-mem0
Open

Update mem0 cookbook#288
sjrl wants to merge 2 commits into
mainfrom
update-mem0

Conversation

@sjrl
Copy link
Copy Markdown
Contributor

@sjrl sjrl commented May 22, 2026

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sjrl sjrl self-assigned this May 22, 2026
@sjrl sjrl marked this pull request as ready for review May 26, 2026 09:32
@sjrl sjrl requested a review from a team as a code owner May 26, 2026 09:32
@sjrl sjrl requested review from bilgeyucel and kacperlukawski May 26, 2026 09:32
@@ -4,7 +4,7 @@
"cell_type": "markdown",
Copy link
Copy Markdown
Member

@kacperlukawski kacperlukawski May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor thing, but we haven't used the infer param in the previous example, and it might be confusing if someone is not familiar with the API.


Reply via ReviewNB

@@ -4,7 +4,7 @@
"cell_type": "markdown",
Copy link
Copy Markdown
Member

@kacperlukawski kacperlukawski May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that mean our integration can ignore some memories added in the current agent run? In the experimental integration we had a possibility to enable async mode, but sync was the default.


Reply via ReviewNB

@@ -4,7 +4,7 @@
"cell_type": "markdown",
Copy link
Copy Markdown
Member

@kacperlukawski kacperlukawski May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more a question about the integration itself, but shouldn't we have a method to remove the memories without asking our users to call the client directly? We do not ask them to pass MemoryClient when they create an instance of Mem0MemoryStore, so they are even not aware of it. From the UX perspective, it would make sense to have a richer interface. Perfectly even a tool, so the agent can delete stale memories itself.


Reply via ReviewNB

@kacperlukawski kacperlukawski self-requested a review May 29, 2026 15:26
Copy link
Copy Markdown
Member

@kacperlukawski kacperlukawski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjrl It might be merged as it is, but I have some general questions about our approach. I played a bit with the integration, when it was still experimental, and would like to understand the motivation behind some of the changes.

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.

2 participants