Overview
Both AUTOPILOT and EXTERNAL applications use speech APIs. To illustrate the use of speech in Fonoster, look at the following example using the SDK:Configuring speech-to-text
The speechToText object allows you to define the speech-to-text engine to use. The speech-to-text engine is responsible for converting the caller’s speech into text. The speechToText object has the productRef and config properties. The productRef property identifies the speech-to-text vendor you want to use. The config property is an object that contains the configuration settings for the speech-to-text engine. The configuration settings vary depending on the vendor. Currently, only Deepgram is supported as a speech-to-text vendor, but we are working on adding more vendors.Deepgram configuration
Deepgram is a speech-to-text vendor that provides high-quality transcription services. Deepgram supports the languageCode as well as model properties. The languageCode property is the language code of the speech you want to transcribe. The model property is the model to use for transcription and defaults tonova-2-phonecall.
The Autopilot supports the models nova-2, nova-2-phonecall, and nova-2-conversationalai, nova-3.
Example of a Deepgram configuration for Spanish:
For languageCode other than
en-US, you need to use the nova-2 model.Please refer to the Deepgram documentation for more information.