import chromadb # Path to your local ChromaDB store CHROMA_PATH = "chromadb-store" # Initialize Chroma client client = chromadb.PersistentClient(path=CHROMA_PATH) # List all available collections collections = client.list_collections() if not collections: print(f"⚠️ No collections found in {CHROMA_PATH}") else: print(f"📚 Collections in {CHROMA_PATH}:") for c in sorted(collections, key = lambda x: x.name): print(f" - {c.name}")