#!/usr/bin/env python3 from pathlib import Path import runpy ROOT = Path(__file__).resolve().parents[3] for candidate in ( ROOT / "scripts" / "query_hf_graphrag.py", ROOT / "scripts" / "query_hf_graphrag.py", ): if candidate.is_file(): runpy.run_path(str(candidate), run_name="__main__") break else: raise SystemExit("GraphRAG query client is missing from this release")