View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3MatchIntentResponse (google_api_dialogflow v0.88.2)

Response of MatchIntent.

Attributes

  • currentPage (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Page.t, default: nil) - The current Page. Some, not all fields are filled in this message, including but not limited to name and display_name.
  • matches (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Match.t), default: nil) - Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
  • text (type: String.t, default: nil) - If natural language text was provided as input, this field will contain a copy of the text.
  • transcript (type: String.t, default: nil) - If natural language speech audio was provided as input, this field will contain the transcript for the audio.
  • triggerEvent (type: String.t, default: nil) - If an event was provided as input, this field will contain a copy of the event name.
  • triggerIntent (type: String.t, default: nil) - If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects//locations//agents//intents/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3MatchIntentResponse{
    currentPage:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Page.t() | nil,
    matches:
      [GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Match.t()] | nil,
    text: String.t() | nil,
    transcript: String.t() | nil,
    triggerEvent: String.t() | nil,
    triggerIntent: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.