Design a pipeline that turns ~100k hours per month of call recordings into searchable, analysable data. What are the stages and where does it go wrong?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Stages: ingest and normalise (resample to 16 kHz, split channels), VAD to strip silence and chunk, ASR with word-level timestamps, diarisation, align speakers to words, optional speaker ID against enrolled voices, an LLM pass for summaries and structured extraction, then index.
Full worked answer with diagram
Stages: ingest and normalise (resample to 16 kHz, split channels), VAD to strip silence and chunk, ASR with word-level timestamps, diarisation, align speakers to words, optional speaker ID against enrolled voices, an LLM pass for summaries and structured extraction, then index.
The things worth saying out loud:
Channel separation beats diarisation. Telephony recordings are frequently stereo with agent on one channel and customer on the other. If you have that, never run diarisation - it is strictly worse and slower than the ground truth you were handed. Check this before designing anything clever.
Diarisation clusters speaker embeddings over speech segments. Failure modes concentrate in overlapping speech (both parties talking), short backchannels like "mhm", similar voices, and unknown speaker counts. Metric is DER (missed speech + false alarm + speaker confusion), but also track cpWER, because a concatenated permutation-aware WER is what the downstream LLM actually consumes. A transcript with perfect words and swapped speakers produces confidently wrong summaries.
Alignment boundaries. ASR and diarisation segment audio independently, so errors pile up exactly at turn boundaries. Word-level timestamps are what let you resolve them.
Cost shape. This is a throughput problem, not a latency problem, which changes everything. Large batches, greedy decoding, no beam search, spot capacity, and you can tolerate hours of lag. At 100k hours per month, self-hosted Whisper-class models are typically far cheaper than per-minute APIs, but do the arithmetic including engineering and on-call before claiming it.
Quality lever. Domain vocabulary matters more than WER. Bias the decoder with account-specific terms where the engine supports it, or run a post-ASR correction pass giving an LLM the candidate entity list (product names, agent names, plan tiers) and let it repair the transcript.
PII. Redact before it reaches the LLM stage or the index, not after. Recordings contain card numbers read aloud.
Worth sketching. The channel-separation branch near the top is the cheapest win in the whole pipeline, and drawing it stops you designing around a problem you do not have.
flowchart TD
A["Call recording"] --> B["Resample to 16 kHz,<br/>split channels, VAD"]
B --> C["ASR with word-level timestamps"]
C --> D{"Stereo, one party<br/>per channel?"}
D -->|"yes"| E["Channels are<br/>ground-truth speakers"]
D -->|"no"| F["Diarisation, then align<br/>to word boundaries"]
E --> G["Redact PII"]
F --> G
G --> H["LLM summary and extraction,<br/>then index"]
What a good answer covers
- Stages: ingest and normalise (resample to 16 kHz, split channels), VAD to strip silence and chunk, ASR…
- Channel separation beats diarisation
- Telephony recordings are frequently stereo with agent on one channel and customer on the other
- If you have that, never run diarisation - it is strictly worse and slower than the ground truth you were…
- Check this before designing anything clever
Key terms: Channel separation beats diarisation · Diarisation · Alignment boundaries · Cost shape · Quality lever · PII
In the glossary: WER · Alignment · Beam search
Interviewer follow-ups to expect
How would you evaluate this pipeline end to end when you have no reference transcripts for your own calls?
Where would you put a human in the loop, given the volume?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep