From 16981359e7649db4a06e8b462f5967022c13958e Mon Sep 17 00:00:00 2001 From: uommou Date: Sun, 28 Apr 2024 17:02:04 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20chromadb=20=EC=A3=BC=EC=86=8C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/database/chroma_db.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/database/chroma_db.py b/app/database/chroma_db.py index a54f229..e62aa37 100644 --- a/app/database/chroma_db.py +++ b/app/database/chroma_db.py @@ -16,7 +16,9 @@ CHROMA_DB_IP_ADDRESS = os.getenv("CHROMA_DB_IP_ADDRESS") # description: 원격 EC2 인스턴스에서 ChromaDB에 연결 -chroma_client = chromadb.HttpClient(host=CHROMA_DB_IP_ADDRESS, port=8000) +# https://db.nessplanning.com +chroma_client = chromadb.HttpClient(host='https://db.nessplanning.com', port=8000) +# chroma_client = chromadb.HttpClient(host=CHROMA_DB_IP_ADDRESS, port=8000) # description: embedding funtion 설정 # all-MiniLM-L6-v2 가 디폴트