Google (Beta)
Google provides advanced automatic speech recognition with high accuracy and support for multiple languages, designed for real-time conversational AI applications.
Sample configuration
The following example shows a starting asr parameter configuration you can use when you Start a conversational AI agent.
The parameters listed on this page are validated for use with Conversational AI Engine. To avoid unpredictable behavior, Agora strongly recommends using only the supported parameters. For a complete reference, consult the Google official documentation.
Key parameters
paramsrequired
- project_id stringrequired
The Google Cloud project ID where the Speech-to-Text API is enabled. Get your project ID from the Google Cloud Console.
- location stringrequired
The Google Cloud region where the speech service is hosted, for example,
global,us-central1, oreurope-west1. - adc_credentials_string stringrequired
The Google Cloud service account credentials JSON string used for authentication. Get your credentials from the Google Cloud Console.
- language stringrequired
The language code for speech recognition, for example,
en-US,es-ES, orfr-FR. See supported languages for available language codes. - model stringnullable
The recognition model to use.