Class InputAudioConfig (1.1.2)

Instructs the speech recognizer 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.

If true, Dialogflow returns SpeechWordInfo in [StreamingRecognitionResult][google.cloud.dialogflow.v2.Stream ingRecognitionResult] 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.

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.

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

Inheritance

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