Swahili chatbot quality: testing customer support in local languages
For companies4 min read
A Swahili chatbot that handles customer support has to understand real messages, answer correctly and sound natural to a native speaker. Public benchmarks suggest this is harder than it is in English. Here is a test plan built on your own tickets and graded by native speakers.
What public benchmarks suggest about local-language quality
IrokoBench tested 10 open and six proprietary models on tasks in 17 low-resource African languages. Its authors report that performance is much lower than on high-resource languages such as English and French, and that proprietary models outperformed open ones. The best open model, Gemma 2 27B, reached 63% of GPT-4o's performance.
The same study found that translating test sets into English before evaluation narrowed the gap for larger English-centric models. For a support bot this suggests a design choice to test: translate in and out, or answer directly. Neither is always better, and your own data will tell you.
Check the paper's language list before citing it for Swahili specifically. Belebele, a reading comprehension set in 122 language variants, is another place to look for broad language coverage.
Start from real tickets
Public benchmarks do not contain your refund rules or your product names. Pull 300 or so real support messages in the language, remove personal data and sort them by topic: billing, delivery, account access, complaints, questions about the product. Weight the set toward the topics that cost you most.
Include the messy ones. Real customers write short, misspelt, angry or mixed-language messages. A clean test set made of textbook sentences will flatter your bot.
Who should grade a Swahili chatbot
Use native speakers with some customer service background, not translators alone. A translator can tell whether the meaning matches. A support agent can tell whether the tone would calm a customer or annoy one, and whether the reply follows your policy.
| Check | Grader | Example failure |
|---|---|---|
| Meaning | Native speaker | Reply answers a different question |
| Fluency | Native speaker | Word-for-word translation from English |
| Register | Native speaker, support experience | Too formal or too casual for the customer |
| Policy | Your support lead | Promises a refund that policy does not allow |
| Safety | Native speaker plus safety lead | Repeats an insult or shares private data |
Grade with error types, not just a score
A large study of machine translation found that ranking systems with error-by-error marking by professional translators, who had full document context, differed substantially from the ranking produced by crowd workers. The lesson for a support bot is to ask graders to mark each error and its type, and not just to give an overall impression.
- Wrong meaning: the reply misreads the customer.
- Wrong fact: it states a policy or price incorrectly.
- Unnatural wording: understandable but clearly foreign.
- Wrong register: tone does not fit the situation.
- Missing step: it does not tell the customer what to do next.
- Unsafe: it leaks data or encourages harm.
Test escalation and refusal
A support bot must know when to hand over to a person. Write test messages where the right behaviour is to escalate: a complaint about fraud, a safety issue, a customer in distress. Ask graders to mark whether the bot recognised the case and whether the handover message was clear in the local language.
A first test run in five steps
- Sample 300 tickets and anonymise them.
- Have a native-speaking agent write the ideal reply to a third of them as a reference.
- Run the bot on all 300 and keep the full transcripts.
- Have two graders mark errors by type, and a lead settle disagreements.
- Report error counts per topic and list the five most frequent mistakes with examples.
Repeat the run whenever you change the model, the prompt or the knowledge base, and keep the grader guidelines under version control so scores can be compared over time.
Watch cost and speed as well
Answers that are correct but slow lose customers. Record response time and the number of turns needed to solve each case, and compare the bot with a human agent on the same tickets. If the bot needs five turns where an agent needs two, the graders' notes on missing steps will show why. Also record how often customers ask for a human, since that is the clearest behavioural signal of a weak reply.
Finally, plan updates. Product names, prices and rules change, and a bot trained or prompted last quarter may now give old information. Keep a list of facts that change and re-test those items first after every update.
Curatrain vets linguists and other experts with graded skill tests, and companies get a shortlist of experts who passed the tests their project needs, with confirmed resumes. You approve each match through a secure link.