delete the deprecated method (#5612)

This commit is contained in:
Jyong 2024-06-26 12:51:50 +08:00 • committed by GitHub
commit 43335b5c87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 24 additions and 87 deletions

View file

@ -151,11 +151,6 @@ class RelytVector(BaseVector):
return ids
def delete_by_document_id(self, document_id: str):
ids = self.get_ids_by_metadata_field('document_id', document_id)
if ids:
self.delete_by_uuids(ids)
def get_ids_by_metadata_field(self, key: str, value: str):
result = None
with Session(self.client) as session: