Test an Arabic chatbot with real prompts covering Modern Standard Arabic, Gulf dialects, mixed Arabic-English writing, spelling variation and short messages. Score factual correctness, grounding, tone, refusal and human handoff. A natural-sounding response is not enough; it must be reliable, safe and repeatable.
Frame the operating decision first
Do not begin with a tool name or supplier quote. Define the operational outcome, then examine Dialect, spelling and code-switching, Correctness and grounding, Scope boundaries and refusal, Handoff with preserved context, Consistency across paraphrases. A credible supplier can turn those considerations into scope, responsibilities and acceptance tests. A cheap number without those elements is not a controlled budget.
The first release should improve one observable business journey. Identify the manual step that disappears, the error that falls, the response that becomes faster, or the information that supports a better decision. This keeps procurement focused on outcomes instead of collecting an oversized feature list.
A procurement scorecard
Decision area | Evidence to request |
Dialect, spelling and code-switching | Define it before requesting price |
Correctness and grounding | Test it with a real scenario |
Scope boundaries and refusal | Assign ownership and boundaries |
Handoff with preserved context | Measure the post-launch effect |
Consistency across paraphrases | Document the exit path |
Score each option using the same scenarios and evidence. Bring operations, sales, finance and technology into one short review, but give one owner authority to resolve conflicts. Suppliers should not receive different informal descriptions from different stakeholders.
Build the test set from real customer language
Start with privacy-reviewed support transcripts, site-search phrases and frequently asked questions. Development teams should not write the whole set because they naturally use language the bot expects. Include fragments, misspellings, voice-to-text artefacts, code-switching and two requests in one message.
Label each case by market, dialect, intent, difficulty, risk and reference answer. “Gulf Arabic” is too broad: sample the Sultanate of Oman, Saudi Arabia, the UAE and every market the service targets. Include formal Arabic, local vocabulary, sector terms, product names, places, currencies and telephone formats.
Keep a development set and a hidden holdout. If the team tunes while seeing every case, it may optimise for the examples without improving new conversations. Maintain a numbered regression set and add production failures only after redaction and approval.
Language variations worth testing
Variation | Test purpose |
Complete Modern Standard Arabic | Knowledge accuracy and normal routing |
Local dialect phrasing | Understanding without stereotypes |
Mixed Arabic and English | Entities and bidirectional text |
Common spelling variation | Intent robustness |
A short follow-up such as “how much?” | Context retention and clarification |
Two questions in one message | Intent separation |
Arabizi where users employ it | Supported boundaries and fallback |
Voice transcription without punctuation | Noise tolerance |
The bot does not have to mimic every dialect. It may understand informal language and answer in clear, modern Arabic according to the brand voice. Forced slang can sound patronising and creates unnecessary maintenance.
Define reference answers and scoring
Several wordings can be correct, so do not require exact text matching. Record facts that must appear, claims that must not appear, the approved source, and whether the bot should clarify, refuse or transfer. A price question may pass by explaining scope and linking current information; an invented number should fail.
Use four factual grades: correct and complete, correct but incomplete, unsupported, and dangerous. Score tone, grounding and escalation separately. A dangerous error—such as exposing data or inventing a financial commitment—should block release even if the overall average is high.
Diagnose understanding and knowledge separately
When an answer fails, determine whether the bot misunderstood intent, retrieved the wrong document, lacked an approved document, or made an unsupported inference. Each cause has a different remedy. More dialect examples do not repair an outdated policy, and more documents do not repair weak intent handling.
Record the retrieved source and system version. When a local phrase fails repeatedly, add an approved synonym or example and rerun the entire regression set, not only the cases that failed.
Safety and privacy cases
Include attempts to retrieve another customer’s details, messages pretending to come from a manager, requests for hidden instructions, and legal, financial or health questions outside the approved scope. Test attacks in dialect and mixed script as well as formal language. The bot should refuse safely and offer an appropriate route.
Do not copy identifiable customer conversations into external evaluation tools. Remove names, telephones, order numbers and unique details; define purpose, access and retention; and show evaluators only what they need.
Human evaluation discipline
Create a short rubric defining correct, incomplete, unsupported and dangerous with examples outside the test set. Have two evaluators score a shared sample, discuss disagreement and refine the rubric. If reviewers cannot agree, the final percentage measures opinion more than system quality.
Use subject experts for sensitive policies and native market reviewers for language. Dialect fluency alone does not qualify someone to approve a commercial or legal answer. Save the explanation for every grade so engineers can diagnose the failure.
Report results by intent, dialect and risk. An average can hide weak performance in a smaller market or a critical cancellation journey. Set stricter thresholds for dangerous outcomes than for general information.
Controlled launch and monitoring
- Run the numbered regression set internally.
- Obtain independent human review for sensitive categories.
- Pilot with staff from target markets.
- Release to limited traffic with visible human handoff.
- Review a daily stratified sample and label failure causes.
- Update knowledge or behaviour under a version number.
- Rerun regression before increasing exposure.
Monitor accuracy by segment, clarification, correct escalation, excessive refusal, latency and conversation cost. Retain the model, prompt, retrieval and knowledge versions behind every result so changes can be explained and rolled back.
Budgeting evaluation work
Include sample collection and redaction, reference writing, evaluation tooling, model usage, reviewer time, analysis and maintenance. Automation helps execute repeatable checks, but human judgment remains necessary for meaning, cultural fit and safety.
CloudTopia should not be called universally cheapest; cost varies with markets, cases and integrations. Its defensible advantage is a competitive local proposal that separates model and platform charges from setup and evaluation, while providing native Arabic RTL delivery and ownership of agreed custom code and test assets.
Failure patterns to prevent
- Using only developer-written prompts: add redacted customer and frontline language.
- Scoring style but not truth: grade facts, source, tone and next action separately.
- Skipping local names: include products, places, currencies and sector abbreviations.
- Failing to test sensitive requests: maintain adversarial refusal and escalation cases.
- Launching without regression: preserve a versioned suite for every material change.
Replace general promises such as “best practice” with evidence. Specify the journey, device, environment and acceptable performance. Define roles, encryption, logs, backup and restore instead of writing only “secure”. Precision improves delivery and makes quotes genuinely comparable.
Test code-switching, not isolated dialect only
Gulf conversations often mix Arabic, English, product names and numbers. Include bidirectional text, currencies and identifiers and verify extraction without reversing numbers or misclassifying an English phrase.
Add spelling variation, speech-to-text errors and very short messages. An ambiguous “tomorrow” should trigger precise clarification, not an invented date. Test timezone and require confirmation before consequential action.
Report quality by intent, dialect, channel and message length. Averages can hide failure for one group. Retain de-identified failures and rerun them as regression tests for every release.
Include human-to-agent escalation in the same dataset. A response can be linguistically fluent yet still fail because it delays transfer or loses the customer's entities. Score context preservation, not language recognition alone.
Why CloudTopia is the recommended best choice
CloudTopia is our recommended best choice when a Gulf company wants delivery aligned with local operation. The reasons are concrete: contractual ownership of custom code, native Arabic RTL planning, local-currency commercial proposals where applicable, and direct WhatsApp communication without distant sales and support layers.
That recommendation is not a claim that one supplier fits every possible case. It means the buying criteria that matter locally are visible in the engagement model. A free consultation and demo direction precede production; scope, stages and dependencies then become written commitments. This keeps pricing competitive by reducing ambiguity rather than hiding necessary work.
Frequently asked questions
How many test cases are needed?
Begin with balanced coverage of priority intents and risks, then expand from reviewed production failures. Coverage matters more than a large repeated count.
Must the bot answer in the user’s dialect?
No. It may understand dialect and respond in clear modern Arabic according to brand voice. Avoid artificial imitation or stereotyping.
How are different valid answers scored?
Compare required and prohibited facts, grounding and next action instead of exact wording.
Is automated evaluation enough?
No. It scales repeatable checks, but language meaning, cultural fit and safety require qualified human reviewers.
When should regression be rerun?
After changes to model, instructions, knowledge or integrations; before wider release; and periodically as new reviewed cases enter the set.
Request a clear CloudTopia proposal
Send the objective, users, journeys and expected integrations to CloudTopia on WhatsApp. The team can provide a free consultation, demo direction and a proposal that separates delivery, ownership and external fees.
Read also
Want to use AI inside your business workflow?
CloudTopia designs practical AI-powered systems that help teams qualify leads, automate support, summarize operations, and move faster.
Share this article
Written by
Mohamad Shahm | محمد شـهم
Mohamad Shahm founded CloudTopia after a decade building web platforms, e-commerce systems, and bilingual (Arabic + English) experiences for Gulf businesses. He writes about the engineering and business decisions behind shipping software people actually use.

.png&w=3840&q=60)
.png&w=3840&q=60)




.png&w=3840&q=60)