Class InputAudioConfig (0.8.0)

Stay organized with collections Save and categorize content based on your preferences.

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

Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to Cloud Speech API documentation <https://cloud.google.com/speech-to-text/docs/basics>__ for more details.

Optional. If true, Dialogflow returns [SpeechWordInfo][goo gle.cloud.dialogflow.v2beta1.SpeechWordInfo] in [StreamingReco gnitionResult][google.cloud.dialogflow.v2beta1.StreamingRecogn itionResult] with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.

Optional. Context information to assist speech recognition. See the Cloud Speech documentation <https://cloud.google.com/speech-to-text/docs/basics#phrase- hints>__ for more details.

Optional. Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.

Inheritance

builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > InputAudioConfig