Skill 4.2.1

Implement workflows to convert speech to text and text to speech for agentic interactions

Key Concepts

Speech to text in Azure Speech offers real-time recognition with the Speech SDK for live audio, fast transcription for recorded files that need results quickly, and batch transcription for large volumes from storage. Features include automatic punctuation, speaker diarization, word-level timestamps and phrase lists that boost recognition of specific words. Audio models such as gpt-4o-mini-transcribe provide LLM-based transcription through the audio API.

Text to speech converts the agent's reply into audio with neural voices, including high-definition voices, and Speech Synthesis Markup Language (SSML) to control pronunciation, pauses, rate, pitch and speaking style. An agentic interaction chains recognition, the agent call and synthesis, streams audio to reduce latency and keeps the spoken reply short because listeners cannot skim.