refactor: update delete method as an abstract method (#8794)

pull/8798/head
zhuhao 1 year ago committed by GitHub
parent 128a66f7fe
commit 008e0efeb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -45,6 +45,7 @@ class BaseVector(ABC):
def search_by_full_text(self, query: str, **kwargs: Any) -> list[Document]:
raise NotImplementedError
@abstractmethod
def delete(self) -> None:
raise NotImplementedError

Loading…
Cancel
Save