ipfs_uscode / skill /query-hf-graphrag /scripts /query_hf_graphrag.py
endomorphosis's picture
Add files using upload-large-folder tool
9833d90 verified
Raw History Blame Contribute Delete
403 Bytes
#!/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")