[graph_memory]: improve delete/add graph memory (#2073)

This commit is contained in:
Mayank
2025-01-03 22:21:05 +05:30
committed by GitHub
parent 542153ad4f
commit 78a2ef41d7
7 changed files with 439 additions and 225 deletions

View File

@@ -109,6 +109,10 @@ The Mem0's graph supports the following operations:
### Add Memories
<Note>
If you are using Mem0 with Graph Memory, it is recommended to pass `user_id`. The default value of `user_id` (in case of graph memory) is `user`.
</Note>
<CodeGroup>
```python Code
m.add("I like pizza", user_id="alice")