First_RAG_System / vector_store.py
HamidOmarov's picture
Upload 7 files
e02136d verified
raw
history blame
216 Bytes
import chromadb
def get_chroma_client():
client = chromadb.PersistentClient(path="./chroma_db")
return client
def create_collection(client, name="pdf_docs"):
return client.get_or_create_collection(name)