Give an agent a voice, then translate and reason over audio
Contoso Pharmacy wants a phone agent: it listens, answers and speaks back. Then it has to handle Hindi callers and let supervisors ask questions about recorded calls. Build the speech loop, fix misheard drug names, translate speech and send audio to an audio-capable model.
You will learn:Speech to text → model → text to speech for an agentPhrase lists vs custom speech for domain wordsSSML for clearer repliesSpeech translation with TranslationRecognizerAudio input to gpt-4o-audio-preview
Related lessons: Speech to Text and Text to Speech for Agents · Speech Translation and Reasoning over Audio