Skip to main content

About the project

In high-stakes enterprise domains (taxation, compliance, healthcare, legal), Generative AI adoption is bottlenecked by parametric hallucinations. Standard Retrieval-Augmented Generation (RAG) models frequently inject plausible-sounding but legally invalid figures, deadlines, and forms.

The Deterministic RAG Hallucination Guardrail transforms probabilistic text generation into a closed-loop, auditable verification pipeline. Powered by Google’s Gemma 4 (gemma-4) via the Google Generative Language v1beta REST API, the system audits generated drafts against retrieved premises, highlights unsupported tokens via visual saliency diffs, automatically excises hallucinations, and issues cryptographically verifiable EU AI Act compliance certificates.

Built with

pythongithubgeminigemini-apifastapigemmastreamlit

AI tools

Coded withAntigravityGoogle AI StudioGemma 4 26B A4B

Prize Categories Entered

  • Deepmind Google

    Best Use of Gemma 4

    Submitted
  • DigitalOcean

    Best Open-Source AI Project

    Submitted