View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3AudioInput (google_api_dialogflow v0.88.2)
Represents the natural speech audio to be processed.
Attributes
-
audio
(type:String.t
, default:nil
) - The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, bothconfig
andaudio
must be provided. For streaming audio detect intent,config
must be provided in the first request andaudio
must be provided in all following requests. -
config
(type:GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3InputAudioConfig.t
, default:nil
) - Required. Instructs the speech recognizer how to process the speech audio.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3AudioInput{ audio: String.t() | nil, config: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3InputAudioConfig.t() | nil }