fix deprecation warning: qdrant and version bump -> 0.1.58 (#2274)
This commit is contained in:
@@ -140,13 +140,13 @@ class Qdrant(VectorStoreBase):
|
|||||||
list: Search results.
|
list: Search results.
|
||||||
"""
|
"""
|
||||||
query_filter = self._create_filter(filters) if filters else None
|
query_filter = self._create_filter(filters) if filters else None
|
||||||
hits = self.client.search(
|
hits = self.client.query_points(
|
||||||
collection_name=self.collection_name,
|
collection_name=self.collection_name,
|
||||||
query_vector=query,
|
query=query,
|
||||||
query_filter=query_filter,
|
query_filter=query_filter,
|
||||||
limit=limit,
|
limit=limit,
|
||||||
)
|
)
|
||||||
return hits
|
return hits.points
|
||||||
|
|
||||||
def delete(self, vector_id: int):
|
def delete(self, vector_id: int):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "mem0ai"
|
name = "mem0ai"
|
||||||
version = "0.1.57"
|
version = "0.1.58"
|
||||||
description = "Long-term memory for AI Agents"
|
description = "Long-term memory for AI Agents"
|
||||||
authors = ["Mem0 <founders@mem0.ai>"]
|
authors = ["Mem0 <founders@mem0.ai>"]
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|||||||
Reference in New Issue
Block a user