Active Graph KG — Demo Run (End-to-End)¶
This guide runs a complete proof bundle on a fresh or running system: seed ground truth → run triple retrieval comparison → publish uplift metrics → generate proof report → open Grafana.
Prerequisites:
- API running at http://localhost:8000
- Postgres running and reachable by the API
- Admin JWT token (single-line), export as TOKEN
- Grafana reachable at http://localhost:3000 (optional)
Quick env:
1) Seed Ground Truth (from current corpus)
2) Triple Retrieval Quality (vector vs hybrid vs weighted)
3) Publish Uplift Metrics to Prometheus (Grafana-ready)
4) Generate Proof Points Report
5) Open Grafana (optional) - Vector Index Build Latency, Index Build Success Rate, Search/Ask latency, Scheduler/Trigger metrics - URL: http://localhost:3000/d/activekg-ops or simply:
Notes
- Scheduler metrics require API started with RUN_SCHEDULER=true.
- For governance tests, set a second token: export SECOND_TOKEN='<jwt for other tenant>' and run make governance-audit.
- All scripts reside under scripts/ and are exposed as Makefile targets.