public sealed class QualityMetrics.Types.TopkMetrics : IMessage<QualityMetrics.Types.TopkMetrics>, IEquatable<QualityMetrics.Types.TopkMetrics>, IDeepCloneable<QualityMetrics.Types.TopkMetrics>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class QualityMetrics.Types.TopkMetrics.
Stores the metric values at specific top-k levels.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eQualityMetrics.Types.TopkMetrics\u003c/code\u003e class in the Discovery Engine v1beta API, specifically version 1.0.0-beta18, which is the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopkMetrics\u003c/code\u003e class stores metric values at various top-k levels and inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eTopkMetrics()\u003c/code\u003e for default initialization and \u003ccode\u003eTopkMetrics(TopkMetrics other)\u003c/code\u003e for copying from another \u003ccode\u003eTopkMetrics\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopkMetrics\u003c/code\u003e class provides properties \u003ccode\u003eTop1\u003c/code\u003e, \u003ccode\u003eTop3\u003c/code\u003e, \u003ccode\u003eTop5\u003c/code\u003e, and \u003ccode\u003eTop10\u003c/code\u003e to access metric values at these specific top-k levels, each as a \u003ccode\u003edouble\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]