View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Match (google_api_dialogflow v0.74.0)

Represents one match result of MatchIntent.

Attributes

  • confidence (type: number(), default: nil) - The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
  • event (type: String.t, default: nil) - The event that matched the query. Filled for EVENT, NO_MATCH and NO_INPUT match types.
  • intent (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Intent.t, default: nil) - The Intent that matched the query. Some, not all fields are filled in this message, including but not limited to: name and display_name. Only filled for INTENT match type.
  • matchType (type: String.t, default: nil) - Type of this Match.
  • parameters (type: map(), default: nil) - The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: depending on parameter value type, could be one of string, number, boolean, null, list or map - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value
  • resolvedInput (type: String.t, default: nil) - Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Match{
  confidence: number() | nil,
  event: String.t() | nil,
  intent:
    GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3Intent.t() | nil,
  matchType: String.t() | nil,
  parameters: map() | nil,
  resolvedInput: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.