Skill 2.2.2

Respond to spoken prompts by using a deployed multimodal model

Key Concepts

Models such as the gpt-audio family accept audio content in a chat request: the application records or loads the spoken prompt, encodes it (for example as base64 WAV or MP3), and sends it as an input_audio content part in the user message, optionally with text instructions. The model interprets the speech directly, including tone and emphasis, and returns a text response, a spoken response or both. Transcription models such as gpt-4o-mini-transcribe convert speech to text when only a transcript is needed.

For live, two-way conversations, realtime models stream audio in both directions over a persistent connection, and the Voice Live API in Azure Speech combines speech recognition, a generative model and speech synthesis with noise suppression, turn detection and interruption handling. The alternative is a pipeline that transcribes speech with Azure Speech, sends the text to a language model and synthesizes the reply; it gives control over each step but adds latency and loses vocal cues such as tone.