GCP Generative AI Leader Practice Question 36: Voice Agent Speech APIs
Google Cloud Generative AI Leader · Test 4 · question 6 of 10
A retailer is building a phone-based voice agent. A caller speaks naturally, the agent's underlying model decides how to respond, and that response must be read back to the caller in a natural-sounding voice. Which pair of Google Cloud APIs lets the agent hear the caller and speak a reply?
Show answer and explanation
Answer:
Speech-to-Text converts spoken audio into text so the agent's model can read and respond to what the caller said, including real-time streaming recognition for live calls. Text-to-Speech takes the model's text response and converts it into natural-sounding spoken audio to play back to the caller. Together they cover the "ears" and "voice" a phone-based voice agent needs.
Option A analyzes images and video, not audio conversations. Option B analyzes the meaning of text and translates between languages; neither converts speech to text or text to speech. Option D extracts structured data from documents and translates whole documents; neither handles a live spoken phone call.
Reference: Speech-to-Text: AI voice typing and transcription