diff --git a/embedchain/config/InitConfig.py b/embedchain/config/InitConfig.py index d4ed6f09..acd57fd6 100644 --- a/embedchain/config/InitConfig.py +++ b/embedchain/config/InitConfig.py @@ -22,15 +22,8 @@ class InitConfig(BaseConfig): :param port: Optional. Port for the database server. """ self._setup_logging(log_level) - - if db is None: - from embedchain.vectordb.chroma_db import ChromaDB - - self.db = ChromaDB(ef=ef) - else: - self.db = db - self.ef = ef + self.db = db self.host = host self.port = port self.id = id