import sys import os import json # Add parent directory (src/) to path so 'pipeline' is findable sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) from pipeline.defect_rag import get_rag rag = get_rag() all_data = rag.collection.get() print("Found IDs in ChromaDB:") for doc_id in all_data['ids']: print(" -", doc_id) results = rag.collection.get(ids=["my_vcsel_captures_bubble_001"]) # or any ID you know exists print(results['metadatas'][0]) print("---") print(json.loads(results['metadatas'][0]['paths']))