File size: 403 Bytes
9833d90
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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")