public sealed class TopNMetrics : IMessage<SmartReplyMetrics.Types.TopNMetrics>, IEquatable<SmartReplyMetrics.Types.TopNMetrics>, IDeepCloneable<SmartReplyMetrics.Types.TopNMetrics>, IBufferMessage, IMessage
Evaluation metrics when retrieving n smart replies with the model.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `TopNMetrics` class, which is used for evaluating metrics when retrieving a specific number of smart replies with the model in Google Cloud Dialogflow V2."],["The `TopNMetrics` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `Object` class."],["The `TopNMetrics` class offers two constructors: a default constructor `TopNMetrics()` and one that takes another `TopNMetrics` object as a parameter `TopNMetrics(SmartReplyMetrics.Types.TopNMetrics other)`."],["The class contains two primary properties: `N`, an integer that represents the number of smart replies retrieved, and `Recall`, a float that measures the proportion of queries where the top N smart replies include at least one similar reply to the actual reply."],["The webpage lists multiple versions of the documentation related to this class, ranging from version 3.2.0 to 4.26.0, and includes links to their respective pages, with version 4.26.0 listed as the latest."]]],[]]