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

Evaluation metrics when retrieving n smart replies with the model.

Attributes

  • n (type: integer(), default: nil) - Number of retrieved smart replies. For example, when n is 3, this evaluation contains metrics for when Dialogflow retrieves 3 smart replies with the model.
  • recall (type: number(), default: nil) - Defined as number of queries whose top n smart replies have at least one similar (token match similarity above the defined threshold) reply as the real reply divided by number of queries with at least one smart reply. Value ranges from 0.0 to 1.0 inclusive.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics{
    n: integer() | nil,
    recall: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.