GoogleCloudDialogflowV2InputAudioConfig class

Instructs the speech recognizer how to process the audio content.

Constructors

GoogleCloudDialogflowV2InputAudioConfig({String? audioEncoding, bool? disableNoSpeechRecognizedEvent, bool? enableAutomaticPunctuation, bool? enableWordInfo, String? languageCode, String? model, String? modelVariant, bool? optOutConformerModelMigration, List<String>? phraseHints, int? sampleRateHertz, bool? singleUtterance, List<GoogleCloudDialogflowV2SpeechContext>? speechContexts})
GoogleCloudDialogflowV2InputAudioConfig.fromJson(Map json_)

Properties

audioEncoding String?
Audio encoding of the audio content to process.
getter/setter pair
disableNoSpeechRecognizedEvent bool?
Only used in Participants.AnalyzeContent and Participants.StreamingAnalyzeContent.
getter/setter pair
enableAutomaticPunctuation bool?
Enable automatic punctuation option at the speech backend.
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
languageCode String?
The language of the supplied audio.
getter/setter pair
model String?
Which Speech model to select for the given request.
getter/setter pair
modelVariant String?
Which variant of the Speech model to use. Possible string values are:
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
speechContexts List<GoogleCloudDialogflowV2SpeechContext>?
Context information to assist speech recognition.
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