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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user