EVEREDGE
RAG Assistant for MENA Regulatory Compliance
Case study
FinanceAI Integration10 weeks

A Gulf-region tax and compliance advisory firm

FinanceAI Integration10 weeks

Advisory staff were answering the same 40-50 recurring UAE corporate-tax questions by hand, each pulling 2-3 regulatory PDFs. Turnaround averaged 6 hours and junior staff frequently missed cross-references between VAT and CT documents.

The challenge

What they came to us with.

The firm fielded the same 40–50 recurring UAE corporate-tax and VAT questions every week. Each answer required pulling two or three regulatory PDFs and reconciling cross-references between legislation — work only senior staff could do reliably.

Turnaround averaged six hours per question. Junior associates escalated constantly because retrieving the correct sub-article manually was error-prone, and the firm was capacity-bound: they could not take on new clients without hiring more senior hands.

Our approach

How we built it.

We built a retrieval-augmented assistant against a pgvector store of cleaned regulation PDFs. Ingestion runs a 2-pass pipeline — PyMuPDF extracts raw text, then an LLM pass structures it into article-aware chunks that survive retrieval.

Composite embeddings were the unlock. Each chunk is embedded as a weighted mix of its own text (70%), RAKE-extracted keywords (10%), and LLM-generated synthetic questions (20%). Cross-article references like “see Article 23 of Cabinet Decision No. 52” stopped being invisible to retrieval.

The assistant streams answers via SSE, runs a context-condensation pass before each LLM call to keep prompt windows tight, and preserves the full conversation (no sliding window) so follow-ups stay grounded. Auth is RS256 JWT with 10-minute access tokens and 30-day refresh.

The outcome

What shipped. What changed.

Avg. first-answer latency under 4s end-to-end

Retrieval precision@5 improved from 0.61 to 0.88

L1 staff resolution rate climbed from 35% to 82%

Full conversation history preserved so follow-ups stay grounded

Ready to achieve similar results?

Let's discuss how we can help transform your business.