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.
|
||||
"""
|
||||
query_filter = self._create_filter(filters) if filters else None
|
||||
hits = self.client.search(
|
||||
hits = self.client.query_points(
|
||||
collection_name=self.collection_name,
|
||||
query_vector=query,
|
||||
query=query,
|
||||
query_filter=query_filter,
|
||||
limit=limit,
|
||||
)
|
||||
return hits
|
||||
return hits.points
|
||||
|
||||
def delete(self, vector_id: int):
|
||||
"""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "mem0ai"
|
||||
version = "0.1.57"
|
||||
version = "0.1.58"
|
||||
description = "Long-term memory for AI Agents"
|
||||
authors = ["Mem0 <founders@mem0.ai>"]
|
||||
exclude = [
|
||||
|
||||
Reference in New Issue
Block a user