Class SmartReplyMetrics (2.34.0)

SmartReplyMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The evaluation metrics for smart reply model.

Attributes

Name Description
allowlist_coverage float
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].
top_n_metrics MutableSequence[google.cloud.dialogflow_v2.types.SmartReplyMetrics.TopNMetrics]
Metrics of top n smart replies, sorted by [TopNMetric.n][].
conversation_count int
Total number of conversations used to generate this metric.

Classes

TopNMetrics

TopNMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Evaluation metrics when retrieving n smart replies with the model.