View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryInput (google_api_dialogflow v0.88.0)

Represents the query input. It can contain either: 1. An audio config which instructs the speech recognizer how to process the speech audio. 2. A conversational query in the form of text. 3. An event that specifies which intent to trigger.

Attributes

  • audioConfig (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig.t, default: nil) - Instructs the speech recognizer how to process the speech audio.
  • event (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2EventInput.t, default: nil) - The event to be processed.
  • text (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextInput.t, default: nil) - The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.