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-03-21 UTC."],[[["This webpage provides documentation for the `SmartReplyMetrics.Types.TopNMetrics` class within the Google Cloud Dialogflow v2 API for .NET, detailing its structure and functionality."],["The `TopNMetrics` class is used for evaluating the performance of smart reply models when retrieving a set number (`n`) of potential responses, assessing how many of the top `n` suggestions align with actual replies."],["The documentation lists all available versions of the API from 3.2.0 up to the latest 4.26.0 and is currently showing version 4.16.0, and it includes details on the class's inheritance, implemented interfaces, constructors, and key properties like `N` and `Recall`."],["The `N` property represents the number of smart replies retrieved during evaluation, while the `Recall` property measures the effectiveness of these replies by calculating the ratio of queries where the top `n` replies matched the real reply to the number of queries with smart replies."]]],[]]