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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSmartReplyMetrics.Types.TopNMetrics\u003c/code\u003e class within the Google Cloud Dialogflow v2 API.\u003c/p\u003e\n"],["\u003cp\u003eIt lists various versions of the API, ranging from 3.2.0 to the latest 4.26.0, all referencing the \u003ccode\u003eTopNMetrics\u003c/code\u003e type, allowing users to view the documentation for each release.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSmartReplyMetrics.Types.TopNMetrics\u003c/code\u003e is a class that represents evaluation metrics when retrieving a specific number (\u003ccode\u003en\u003c/code\u003e) of smart replies with the model, as specified by the user.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopNMetrics\u003c/code\u003e class has properties such as \u003ccode\u003eN\u003c/code\u003e, representing the number of retrieved smart replies, and \u003ccode\u003eRecall\u003c/code\u003e, representing the quality of the smart replies.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace and is implemented within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]