GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse

Evaluation metrics when retrieving n smart replies with the model.

Constructors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val n: Int

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.

Link copied to clipboard

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.