GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1AudioInput (google_api_dialogflow v0.73.0) View Source
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 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, bothconfigandaudiomust be provided. For streaming audio detect intent,configmust be provided in the first request andaudiomust be provided in all following requests. -
config(type:GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1InputAudioConfig.t, default:nil) - Required. Instructs the speech recognizer how to process the speech audio.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1AudioInput{
audio: String.t() | nil,
config:
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1InputAudioConfig.t()
| nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.