public sealed class SmartReplyMetrics.Types.TopNMetrics : IMessage<SmartReplyMetrics.Types.TopNMetrics>, IEquatable<SmartReplyMetrics.Types.TopNMetrics>, IDeepCloneable<SmartReplyMetrics.Types.TopNMetrics>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SmartReplyMetrics.Types.TopNMetrics.
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-04-09 UTC."],[[["This webpage provides documentation for the `SmartReplyMetrics.Types.TopNMetrics` class within the Google Cloud Dialogflow v2 API."],["It details the different versions of the API, ranging from 4.26.0 (latest) down to 3.2.0, and contains links to each versions specific page."],["The `TopNMetrics` class represents evaluation metrics for retrieving a specified number (`n`) of smart replies with a model."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has properties such as `N` (number of retrieved replies) and `Recall` (metric of smart reply similarity)."],["The documentation lists inherited members from the base object class, and also includes constructor information for creating instances of `TopNMetrics`."]]],[]]