View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookRequestIntentInfo (google_api_dialogflow v0.88.2)

Represents intent information communicated to the webhook.

Attributes

  • confidence (type: number(), default: nil) - The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
  • displayName (type: String.t, default: nil) - Always present. The display name of the last matched intent.
  • lastMatchedIntent (type: String.t, default: nil) - Always present. The unique identifier of the last matched intent. Format: projects//locations//agents//intents/.
  • parameters (type: %{optional(String.t) => GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue.t}, default: nil) - Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookRequestIntentInfo{
    confidence: number() | nil,
    displayName: String.t() | nil,
    lastMatchedIntent: String.t() | nil,
    parameters:
      %{
        optional(String.t()) =>
          GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue.t()
      }
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.