9 lines
215 B
Python
9 lines
215 B
Python
import chromadb
|
|
|
|
# 2. 벡터 DB 설정
|
|
persist_directory = "./chroma_db"
|
|
chroma_client = chromadb.PersistentClient(path=persist_directory)
|
|
|
|
collection = chroma_client.get_or_create_collection(
|
|
name="orgchart",
|
|
) |