View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetrics (google_api_dialogflow v0.85.1)

The evaluation metrics for smart reply model.

Attributes

  • allowlistCoverage (type: number(), default: nil) - Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].
  • conversationCount (type: String.t, default: nil) - Total number of conversations used to generate this metric.
  • topNMetrics (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.t), default: nil) - Metrics of top n smart replies, sorted by TopNMetric.n.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetrics{
  allowlistCoverage: number() | nil,
  conversationCount: String.t() | nil,
  topNMetrics:
    [
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.t()
    ]
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.