GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3AudioInput (google_api_dialogflow v0.66.2) 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, 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.
  • config (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3InputAudioConfig.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.GoogleCloudDialogflowCxV3AudioInput{
  audio: String.t() | nil,
  config:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3InputAudioConfig.t()
    | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.