RAG vs Fine-Tuning: Choosing the Right Approach for Your Use Case
Two of the most debated techniques in applied AI. Here is a practical framework for choosing between them — and when to use both.
Voice agents have moved past demos. Here is what enterprise-grade voice AI looks like and where it actually fits in the stack.
Voice AI has been "almost ready" for enterprise use for years. The demos are impressive; the production deployments are rare. The gap is not capability — modern speech recognition and synthesis are genuinely good. The gap is integration, latency, and the long tail of accents, domain vocabulary, and background noise that enterprise environments guarantee.
That gap is closing. Here is what the architecture looks like when it is done right.
Layer 1: Speech-to-text (ASR)
Automatic speech recognition converts the audio stream into text. The leading systems — Deepgram, AssemblyAI, Whisper — are now highly accurate on clean audio. Domain-specific vocabulary (medical terminology, legal jargon, product names) remains the hard part. Most ASR systems allow custom vocabulary injection to handle this.
Latency is the critical metric here, not accuracy alone. A system that is 98% accurate with 1.5-second lag feels broken compared to a system that is 95% accurate with 200ms lag. Users tolerate imperfect words; they do not tolerate feeling like they are talking into a void.
Layer 2: Language model (the reasoning core)
The transcribed text is the input to the LLM. This layer is where the "intelligence" lives — understanding intent, retrieving information, generating a response. Everything in the previous sections of this blog about agents, RAG, and prompt engineering applies here, with one additional constraint: the context window must be managed aggressively, because each turn adds tokens and voice conversations can run long.
Layer 3: Text-to-speech (TTS)
The generated response is synthesised into audio. Modern TTS from ElevenLabs, Cartesia, or Play.ht is near-indistinguishable from human speech on neutral content. The challenge comes with prosody — the system needs to sound natural when reading lists, handling hesitations, or navigating emotionally sensitive content.
Voice cloning enables consistent branded voices. Before deploying a cloned voice, confirm you have the appropriate rights and consent from the voice talent.
Layer 4: Orchestration
The orchestration layer manages the real-time loop: buffering the audio stream, triggering ASR when the user stops speaking, passing text to the LLM, streaming TTS back, and managing turn-taking. This layer is where latency compounds — a 200ms ASR delay plus a 500ms LLM first-token delay plus a 100ms TTS startup adds up to a second of dead air before the user hears anything.
Frameworks like Pipecat handle much of this orchestration, including voice activity detection, interruption handling, and session state management.
Not every workflow benefits from voice. The use cases with the clearest ROI share a few characteristics: the user's hands or eyes are occupied, the interaction is time-sensitive, or the user is not comfortable with typing (which includes a much larger percentage of enterprise workers than most product teams assume).
Field operations. Technicians logging maintenance records, drivers updating delivery status, warehouse staff doing inventory counts — hands-free data entry is a significant quality-of-life and accuracy improvement.
Customer support first response. A voice agent handling the initial intake — account number, issue category, attempted steps — before routing to a human reduces handle time for both parties.
Internal knowledge retrieval. Asking a voice agent "what is our current return policy for international orders?" while on a call with a customer is faster than switching windows and searching a knowledge base.
Accessibility. Users who struggle with keyboards or screens — including a significant portion of enterprise workforces in operational roles — benefit disproportionately from well-designed voice interfaces.
The failure modes in voice are different from text-based AI. The most common:
A production voice AI system is not a single API call. It is a real-time pipeline with strict latency requirements, session state, audio codec handling, and telephony integration if it needs to work over calls. Budget for infrastructure engineering time, not just model time.
The organisations that have deployed voice AI successfully treat it like infrastructure — with SLAs, monitoring, load testing, and a rollback plan — not like a feature.