View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3QueryInput (google_api_dialogflow v0.78.0)

Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. 5. DTMF digits to invoke an intent and fill in parameter value. 6. The results of a tool executed by the client.

Attributes

  • audio (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3AudioInput.t, default: nil) - The natural language speech audio to be processed.
  • dtmf (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3DtmfInput.t, default: nil) - The DTMF event to be handled.
  • event (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3EventInput.t, default: nil) - The event to be triggered.
  • intent (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3IntentInput.t, default: nil) - The intent to be triggered.
  • languageCode (type: String.t, default: nil) - Required. The language of the input. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
  • text (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TextInput.t, default: nil) - The natural language text to be processed.

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.