GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs

data class GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs(val model: Output<String>? = null, val speechModelVariant: Output<GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant>? = null) : ConvertibleToJava<GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs>

Configures speech transcription for ConversationProfile.

Constructors

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs

Properties

Link copied to clipboard
val model: Output<String>? = null

Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to Cloud Speech API documentation for more details.

Link copied to clipboard

The speech model used in speech to text. SPEECH_MODEL_VARIANT_UNSPECIFIED, USE_BEST_AVAILABLE will be treated as USE_ENHANCED. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.