Case study · Multilingual AI

One knowledge base, two languages: a bilingual Arabic and English assistant for UAE customers

A UAE utility's customers asked the same questions in Gulf Arabic, Modern Standard Arabic, English and a mix of all three. Its knowledge lived in policies written in one language or the other. The goal was an assistant that answers in the customer's language, from the right source, with a citation, and keeps personal data in the country.

Case studyUtilities · UAESumanta Mukhopadhyay9 min read
#ai#llm#uae#data
CASE STUDY · CASE STUDY · MULTILINGUAL AI29 Oct 2026 · 00:50 GST
At a glance
SectorUtilities · UAE
My roleAI architect
EngagementArchitecture, evaluation and build
ScopeBilingual retrieval, generation, evaluation, data handling
What changed
  • Customers answered in the language they used, with links to the source policy
  • One knowledge base serving both languages instead of parallel content sets
  • Quality measured separately for Arabic, English and mixed queries
  • Personal data handled under UAE data protection requirements, hosted in the country
Multilingual embeddingsHybrid searchArabic text normalisationArabic-capable LLMRetrieval-augmented generationEvaluation set (AR and EN)PII redactionIn-country hosting

Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.

The situation

A UAE utility handled a large volume of customer questions about bills, connections, moving home and service interruptions. Customers wrote in Modern Standard Arabic, Gulf Arabic, English, and frequently a mix of Arabic and English in the same message, sometimes in Latin script. The knowledge base was inconsistent: some policies existed only in English, some only in Arabic, and translations drifted out of date.

An earlier chatbot pilot had worked well in English and poorly in Arabic. Leadership wanted an assistant that treated Arabic speakers as first-class users, answered from current policy and never exposed customer data outside the country.

What had to be true

  • Answer in the customer's language, whichever language the source document was written in.
  • Cite the policy behind every answer, so agents and customers can check it.
  • Handle real Arabic: dialect, spelling variation, diacritics and code-switching.
  • Measure quality per language, not as one blended score that hides Arabic failures.
  • Keep personal data in the country and out of prompts where it isn't needed.

Architecture

Channels
Web chatAR and ENMobile appAR and ENAgent assistcontact centre
Understand
Language detectionincluding mixed textArabic normalisationletter variants, diacriticsPII redactionaccount numbers, IDs
Retrieve
Multilingual embeddingsshared vector spaceKeyword searchper languageRerankingtop passages
Answer
Arabic-capable LLMin-country hostingAnswer in user languagewith citationsFallback to agentlow confidence
Assure
Bilingual eval setAR, EN, mixedFeedback loopagent correctionsAudit logno raw PII
Language handling happens before retrieval, retrieval works across languages, and evaluation is split by language.

The data flow, end to end

  1. ReceiveCustomer message arrives; language and script detected
  2. CleanArabic normalised for search; personal identifiers redacted
  3. RetrieveHybrid search across Arabic and English passages in one index
  4. RerankBest passages selected regardless of source language
  5. AnswerResponse generated in the customer's language with citations
  6. EscalateLow-confidence or account-specific questions routed to an agent
The source language of a policy never limits who can be answered from it.

Retrieval-augmented generation grounds answers in retrieved documents rather than the model's memory, which is what makes citations possible3. Multilingual embedding models make the cross-language part work: models such as multilingual E5 were trained on large collections of multilingual text pairs so that equivalent meaning in different languages lands close together2. Embedding choice is covered in choosing embedding models and hybrid search in hybrid search for RAG.

The hard part: Arabic that real customers write

Benchmarks use clean Modern Standard Arabic. Customers don't. The work that made the difference was unglamorous:

  • Normalising letter variants and removing diacritics for keyword search, while keeping the original text for display.
  • Adding a keyword index alongside vector search, because product names, area names and account terms are often written inconsistently.
  • Building the evaluation set from real anonymised questions in Gulf Arabic, Modern Standard Arabic, English and mixed messages, scored separately.
  • Choosing the answering model on that evaluation set. Arabic-centric models such as Jais were developed precisely because Arabic is underserved, with training that combined a large Arabic corpus with English data1; the right choice is whichever performs best on your own questions.

A bilingual assistant is only as good as its worst language. Report Arabic and English quality separately, or the average will hide the problem.

The general approach to evaluation is in evaluation sets that predict production.

How it ran

Customer service
  1. Top questions per language
  2. Review answers in both languages
  3. Escalation rules
Content owners
  1. Fix outdated policies
  2. Approve translations of key documents
  3. Own freshness
AI platform
  1. Retrieval and normalisation
  2. Bilingual evaluation
  3. In-country deployment
Customer service judged quality in both languages; the platform team optimised against their judgements.
Phase 1Content
  • Inventory policies
  • Fix gaps and conflicts
  • Question set per language
Phase 2Retrieval
  • Hybrid bilingual index
  • Arabic normalisation
  • Retrieval evaluation
Phase 3Agent assist
  • Answers for staff first
  • Corrections captured
  • Model selection
Phase 4Customer-facing
  • Web and app
  • Escalation paths
  • Ongoing evaluation
Staff used it first, so Arabic quality was proven before customers saw it.

Key decisions and trade-offs

DecisionAlternativeWhy
One bilingual indexSeparate Arabic and English systemsNo content gaps when a policy exists in only one language
Hybrid search with normalisationVector search onlyCatches inconsistent spellings of names and terms
Model chosen on own eval setPick the most popular modelArabic quality varies widely between models
Agent assist before customer launchLaunch to customers directlyStaff corrections improved Arabic answers safely
Redact before the model, host in countrySend full messages to a foreign APISimplifies data protection and transfer obligations

The federal Personal Data Protection Law governs personal data processing in the UAE4. Commentary notes it does not apply in the DIFC and ADGM free zones or to health data covered by separate law, and that transfers abroad are generally limited to jurisdictions with adequate protection5. Redaction and in-country hosting kept the design simple under those rules; see UAE PDPL and AI architecture.

What I'd do again, and differently

Again: build the bilingual evaluation set first and launch to agents before customers. Differently: involve content owners earlier. Many "Arabic quality" problems were really missing or outdated Arabic source content, not model weaknesses.

If you serve customers in Arabic and English, my AI architecture work and the fractional CTO in the UAE page describe how I approach it, or analyse your challenge and bring the result to a call.

References
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
FAQ

Common questions

Do you need separate Arabic and English knowledge bases?

Not necessarily. Multilingual embedding models map text in different languages into a shared space, so an Arabic question can retrieve an English passage and the reverse. Many teams still keep official translations of key documents and evaluate each language separately.

Which language model should answer Arabic questions?

One with strong Arabic capability, tested on your own questions. Arabic-centric models such as Jais were trained specifically to improve Arabic performance while remaining competitive in English; general models vary widely. The evaluation set decides.

How does UAE data protection affect an AI assistant?

The federal Personal Data Protection Law governs processing of personal data in the UAE, with exclusions such as the DIFC and ADGM free zones and health data under its own law, and restricts transfers abroad to jurisdictions with adequate protection. Keeping processing in the country and minimising personal data simplifies compliance.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.