Spaces:
Build error
Build error
File size: 436 Bytes
f51bb92 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
class VectorStoreBase:
def __init__(self, config):
self.config = config
def _init_vector_db(self):
raise NotImplementedError
def create_database(self, database_name):
raise NotImplementedError
def load_database(self, database_name):
raise NotImplementedError
def as_retriever(self):
raise NotImplementedError
def __str__(self):
return self.__class__.__name__
|