base_vector_db.py 293 B

12345678910
  1. class BaseVectorDB:
  2. def __init__(self):
  3. self.client = self._get_or_create_db()
  4. self.collection = self._get_or_create_collection()
  5. def _get_or_create_db(self):
  6. raise NotImplementedError
  7. def _get_or_create_collection(self):
  8. raise NotImplementedError