fix weaviate delete_by_ids (#2565)

pull/2572/head
Bowen Liang 2 years ago committed by GitHub
parent 6bbd53512e
commit 562ca45e07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -150,9 +150,10 @@ class WeaviateVector(BaseVector):
return True
def delete_by_ids(self, ids: list[str]) -> None:
for uuid in ids:
self._client.data_object.delete(
ids,
class_name=self._collection_name
class_name=self._collection_name,
uuid=uuid,
)
def search_by_vector(self, query_vector: list[float], **kwargs: Any) -> list[Document]:

Loading…
Cancel
Save