Dominika Michalska

Work

AI translation for customer service: tests to production

Role PM · led the team Scope tests to production Stack DeepL, ElevenLabs, telephony

An AI interpreter for customer-service calls: customers call in their own language, and the agent switches on real-time translation for both sides. The hard part was quality on live calls: translation depended on the transcription, and only the third solution we tested was good enough.

Result
The conversation flows in two languages, in real time. Released to production, stable at release, and handed over to the client.
How quality was checked
Test scenarios and evals on live-call quality, used to choose the tools and calibrate the translation settings. A better transcription made whole sentences more faithful; proper names and numbers still needed a glossary and rules. One scenario is shown below.
Scope and limits
My involvement ended at the production handover. I don’t have performance data from after the release.

One test scenario

Test scenarioOrder call with the sales team
The caller wants to
Place a correct order: a specific model, by name, and its catalogue number, for example Nova 90, NV-90-4120-B.
What went wrong
Model names and catalogue numbers did not come through reliably: a proper name can be translated like an ordinary word, and a string of digits and letters can be read out wrong.
Why it matters
One wrong word or digit, and the order is wrong.
To pass
The model name and the catalogue number reach the other side exactly as they were said.
What I changed
The translation configuration: a glossary of proper names, and rules for translating strings of digits, and of digits and letters.
Retest
After the change, the order scenario passed.
What stayed hard
Very long numbers, such as bank account numbers: in about 10 test cases, 2 came through with an error.
What we decided
It is not a common case. We advised against giving such numbers over the phone, and I passed the limitation to the client as a known risk; the decision was theirs.
Reconstruction of a real test scenario. The model name and catalogue number are invented.

What the evals checked

Accuracy · response time · numbers and symbols · domain terms and proper names · background noise · hallucinations

Two decisions

Decision 1Which transcription can the translation rely on?

Not chosenThe first two solutions we tested

Not faithful or accurate enough for the translation to rely on.

ChosenThe third solution

A very faithful and accurate transcription.

What changed my mind

The tests showed that translation quality depended above all on the transcription, and that good transcription was harder than it looked. DeepL handled the translation from the start.

Decision 2How many tools do we run?

Not chosenA separate tool for each step

More vendors to connect and maintain.

ChosenThree tools, including telephony

Speech recognition and speech synthesis with one vendor. DeepL kept the translation.

What changed my mind

Quality decided it, and fewer tools made the whole solution much simpler.

The whole call

I gathered what the client and the customer-service staff needed, and proposed the workflows around the call: a welcome message for the customer, messages for employees, internal redirects to people and departments, handling of missed calls, and the context and history of each call passed on and saved. They made handling calls between departments much better. After the release, the client wrote that the project had been run very professionally.

  1. Before the callA welcome message for the customer, and the right messages for employees.
  2. RoutingInternal redirects to specific people and departments.
  3. Live translationThe AI pipeline, calibrated with the test scenarios.
  4. HandoverThe context of the conversation is passed on and saved.
  5. After the callCall history and handling of missed calls.
The whole call, not only the translation. Simplified, not a screenshot.

Evaluating an AI product for production?

Tell me what you are building and where the uncertainty is.

Discuss your project →

More decisions I said no to · All work

Trust-Critical AI

Notes on building AI products, testing decisions and learning from what goes wrong. Sent when I have something worth sharing.

Read and subscribe to the newsletter ↗