AI

[VectorDB] Chroma DB를 설치해보자.

junnnhhh 2024. 2. 21. 13:14
728x90

Chroma DB 공식 홈페이지에서는 client 언어로 Python, NodeJS에 대한 가이드를 제공한다.

 

따라서, 나는 NodeJS를 사용해서 Chroma DB를 설치하는 작업을 진행할 예정이다.

https://docs.trychroma.com/getting-started

 

🔑 Getting Started | Chroma

Select a language

docs.trychroma.com

 

Visual Studio Code, Python, Microsoft Visual C++ 14 이상, NodeJS를 미리 설치를 해주고 다음 과정을 진행하자.

 

1. NodeJS에서 chromadb 패키지 다운로드 받기

npm init 

npm install --save chromadb

 

이제 chromadb에 서버를 구성을 해보자

pip install chromadb

 

2. Chroma DB  서버 경로 설정하기

chroma run --path /db_path

/db_path 에 Chroma DB 서버를 저장할 경로를 입력하면 된다.

 

이 화면이 뜨면 정상적으로 서버 경로가 설정되고 구동 중임을 나타낸다.

728x90