GoogleCloudDialogflowV2SpeechToTextConfig class
Configures speech transcription for ConversationProfile.
Constructors
-
GoogleCloudDialogflowV2SpeechToTextConfig({Input<
String> ? model, Input<GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant> ? speechModelVariant, Input<bool> ? useTimeoutBasedEndpointing}) -
Creates a new GoogleCloudDialogflowV2SpeechToTextConfig.
modelWhich 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.speechModelVariantThe speech model used in speech to text.SPEECH_MODEL_VARIANT_UNSPECIFIED,USE_BEST_AVAILABLEwill be treated asUSE_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.useTimeoutBasedEndpointingUse timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.const -
GoogleCloudDialogflowV2SpeechToTextConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
model
→ Input<
String> ? -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
speechModelVariant
→ Input<
GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant> ? -
The speech model used in speech to text.
SPEECH_MODEL_VARIANT_UNSPECIFIED,USE_BEST_AVAILABLEwill be treated asUSE_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.final -
useTimeoutBasedEndpointing
→ Input<
bool> ? -
Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited