From ea18b80f90e5a219c6a61a1dec0a3805df6bfb83 Mon Sep 17 00:00:00 2001 From: Taranjeet Singh Date: Fri, 1 Sep 2023 17:22:10 -0700 Subject: [PATCH] fix: update chroma init for host & port (#529) --- embedchain/vectordb/chroma_db.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/embedchain/vectordb/chroma_db.py b/embedchain/vectordb/chroma_db.py index b50c8b52..d9609e33 100644 --- a/embedchain/vectordb/chroma_db.py +++ b/embedchain/vectordb/chroma_db.py @@ -28,8 +28,7 @@ class ChromaDB(BaseVectorDB): if host and port: logging.info(f"Connecting to ChromaDB server: {host}:{port}") - self.settings = Settings(chroma_server_host=host, chroma_server_http_port=port) - self.client = chromadb.HttpClient(self.settings) + self.client = chromadb.HttpClient(host=host, port=8000) else: if db_dir is None: db_dir = "db"