Add V2 get_all (#1969)

This commit is contained in:
Dev Khant
2024-10-17 11:41:59 +05:30
committed by GitHub
parent 4661d55913
commit 5667bc1eab
7 changed files with 307 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ Mem0 offers two versions of the search API: v1 and v2. Here's how they differ:
<Tab title="v2 Search">
<CodeGroup>
```python Code
related_memories = m.v2_search(
related_memories = m.vsearch(
query="What are Alice's hobbies?",
filters={
"AND":[
@@ -50,7 +50,8 @@ Mem0 offers two versions of the search API: v1 and v2. Here's how they differ:
}
}
]
}
},
version="v2"
)
```