Bump up LangChain version and bugfix (#536)

Co-authored-by: Taranjeet Singh <reachtotj@gmail.com>
This commit is contained in:
Qihang
2023-09-03 12:41:09 -07:00
committed by GitHub
parent c07fbc07b1
commit 2aa25a5169
3 changed files with 7 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ class ChromaDB(BaseVectorDB):
if host and port:
logging.info(f"Connecting to ChromaDB server: {host}:{port}")
self.client = chromadb.HttpClient(host=host, port=8000)
self.client = chromadb.HttpClient(host=host, port=port)
else:
if db_dir is None:
db_dir = "db"