notebooklm-fast / test_chroma.py
jashdoshi77
feat: Add AI-powered query understanding with DeepSeek parsing
64deb3c
raw
history blame contribute delete
389 Bytes
# Test ChromaDB Cloud connection
import chromadb
import os
from dotenv import load_dotenv
load_dotenv()
# Use CloudClient - the correct way to connect to ChromaDB Cloud
client = chromadb.CloudClient(
tenant="jash_doshi_211294",
database="visionextract",
api_key=os.getenv("CHROMA_API_KEY")
)
print("Connected successfully!")
print("Collections:", client.list_collections())