Class AudioInput (0.7.1)

AudioInput(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the natural speech audio to be processed. .. attribute:: config

Required. Instructs the speech recognizer how to process the speech audio.

:type: google.cloud.dialogflowcx_v3beta1.types.InputAudioConfig

Attribute

NameDescription
audio bytes
The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The [transcribed text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot contain more than 256 bytes. For non-streaming audio detect intent, both config and audio must be provided. For streaming audio detect intent, config must be provided in the first request and audio must be provided in all following requests.