Live audio-to-audio (A2A) translation allows agents to communicate seamlessly with customers in their own language. To enable live A2A translation for your customer service setup, follow these steps in the Agent Assist console.
Step 1: Create a generator
- Navigate to Live translation and click Create.
- Enter a Generator name and target languages for the agent and the customer.
- Navigate to Conversation channel and choose voice.
- Enable Conference mode.
- Click Save.
Step 2: Create a conversation profile and link a telephone number
- Follow these instructions to create a conversation profile with a Google Telephony Platform (GTP) number attached to it. This will create a conversation profile with a virtual agent.
- Go to Choose to use Dialogflow and disable the Virtual agent.
- Go to Voice configurations > SIP configuration and disable Allow virtual agent interaction.
Step 3: Configure the conversation profile
Follow these steps to configure the conversation profile created in step 2.
- Navigate to Conversation profiles> Suggestion types.
- Select Live translation and enter the generator name you created in step 1.
- Enable Advanced suggestion settings to use unredacted conversation data for suggestion.
- Enable Telephony settings to use the bidirectional streaming API.
- Enter 16000 for Sample Rate Hertz.
- Click Save.
Step 4: Initialize conference mode
The conference mode service operates with the following workflow to handle mixed audio streams in a multi-party call:
- Add your dedicated GTP phone number as a third participant to integrate live audio translation into an active call. Use the standard three-way conference functionality available on common telephony and contact center platforms.
- The GTP immediately receives a single, mixed audio stream upon connection and processes it through a
bidiStreamingAnalyzeContentrequest. - Gemini model synthesizes audio translation based on input audio and enables transcription for both original audios.It translates the attributed audio and plays the translated audio back into the three-way conference for all participants.