GC
Projects / UAE Consumer-Law RAG Assistant

Regulatory and market intelligence ยท Reference implementation

Answers grounded in UAE consumer-law sources

A bilingual Arabic-English retrieval-augmented generation application designed to answer questions about driving, renting, and property buying from a curated UAE government corpus, with citations tied to retrieved documents.

FastAPIOpenSearch hybrid retrievalLangGraphLocal project

Problem being addressed

Regulatory questions need answers that point back to authoritative material. A general-purpose response can sound certain without showing which rule or source supports it. This project constrains retrieval to an allowlisted source registry and restricts answer citations to the indexed corpus.

System design

  • Manifest-driven ingestion from allowlisted Dubai and federal government sources.
  • PostgreSQL stores document metadata and ingestion state.
  • OpenSearch supports BM25, vector, and hybrid retrieval; Jina embeddings v3 supplies multilingual embeddings.
  • A LangGraph flow applies a guardrail, retrieves and grades documents, rewrites weak-recall queries, then generates an answer.

What the design makes explicit

The model does not invent source URLs, page numbers, sections, or authorities. Citations are retrieval metadata. The application answers only from its curated UAE corpus; broad web crawling is intentionally excluded.

This is a software reference project, not legal advice. The repository says Arabic retrieval and answer quality should not be claimed publicly until a scored evaluation is available. A bilingual interface or multilingual embedding model alone does not demonstrate answer quality.

Evaluation boundary

The repository contains a bilingual gold question set and commands for inventory, retrieval, and full answer evaluation. This page makes no accuracy, coverage, latency, or production-readiness claim.

Repository

Implementation, setup instructions, analyst guide, and evaluation commands are available in the public source repository.

github.com/georgeschamma/gcc-regulatory-rag

Project details are based on the linked repository documentation. Scope and verification status may change as the project evolves.