Grounded RAG assistant for a government agency
What the client needed. An agency needed an assistant answering over 40,000 policy and operational documents with citation-grade accuracy, hosted inside a PROTECTED-level boundary with no data leaving the tenancy.
How we delivered it. We deployed an on-tenancy retrieval stack: pgvector with hybrid BM25-plus-embedding search, OIDC-scoped retrieval so answers inherit document permissions, and a citation layer linking every claim to its source paragraph. A golden-set evaluation harness ran groundedness and refusal checks in CI, blocking releases below threshold. P95 answer latency was 2.1 s, groundedness 0.94 at launch, and the security review closed with zero data-egress findings.