GoogleCloudDialogflowCxV3InputAudioConfig class

Instructs the speech recognizer on how to process the audio content.

Constructors

GoogleCloudDialogflowCxV3InputAudioConfig({String? audioEncoding, GoogleCloudDialogflowCxV3BargeInConfig? bargeInConfig, bool? enableWordInfo, String? model, String? modelVariant, bool? optOutConformerModelMigration, List<String>? phraseHints, int? sampleRateHertz, bool? singleUtterance})
GoogleCloudDialogflowCxV3InputAudioConfig.fromJson(Map json_)

Properties

audioEncoding String?
Audio encoding of the audio content to process.
getter/setter pair
bargeInConfig GoogleCloudDialogflowCxV3BargeInConfig?
Configuration of barge-in behavior during the streaming of input audio.
getter/setter pair
enableWordInfo bool?
If true, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
model String?
Which Speech model to select for the given request.
getter/setter pair
modelVariant String?
Which variant of the Speech model to use.
getter/setter pair
optOutConformerModelMigration bool?
If true, the request will opt out for STT conformer model migration.
getter/setter pair
phraseHints List<String>?
A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRateHertz int?
Sample rate (in Hertz) of the audio content sent in the query.
getter/setter pair
singleUtterance bool?
If false (default), recognition does not cease until the client closes the stream.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited