GoogleCloudDialogflowCxV3AudioInput constructor

const GoogleCloudDialogflowCxV3AudioInput({
  1. Input<String>? audio,
  2. required Input<GoogleCloudDialogflowCxV3InputAudioConfig> config,
})

Creates a new GoogleCloudDialogflowCxV3AudioInput. audio 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, 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 Instructs the speech recognizer how to process the speech audio.

Implementation

const GoogleCloudDialogflowCxV3AudioInput({
  this.audio,
  required this.config,
});