GemmaShield
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
AI tools
Prize Categories Entered
- Submitted
Best Use of Gemma 4
- Submitted

Best Open-Source AI Project