Class SmartReplyMetrics (2.15.2)

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

The evaluation metrics for smart reply model.

Attributes

NameDescription
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 Sequence[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.