public sealed class CheckGroundingSpec : IMessage<CheckGroundingSpec>, IEquatable<CheckGroundingSpec>, IDeepCloneable<CheckGroundingSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class CheckGroundingSpec.
The threshold (in [0,1]) used for determining whether a fact must be
cited for a claim in the answer candidate. Choosing a higher threshold
will lead to fewer but very strong citations, while choosing a lower
threshold may lead to more but somewhat weaker citations. If unset, the
threshold will default to 0.6.
[[["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 document provides reference documentation for the `CheckGroundingSpec` class within the Google Cloud Discovery Engine v1beta API, specifically version 1.0.0-beta17."],["`CheckGroundingSpec` is a sealed class that implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it represents a specification for grounding checks."],["The class inherits from `object` and includes inherited members like `GetHashCode()`, `GetType()`, and `ToString()`."],["The `CheckGroundingSpec` class has two constructors, one default and one that takes another `CheckGroundingSpec` object as a parameter, allowing for the creation of new instances or copies."],["`CheckGroundingSpec` contains properties, such as `CitationThreshold` which controls the threshold for determining whether a fact must be cited and `HasCitationThreshold` to confirm if the threshold is set, to allow for the custom configuration of the grounding check."]]],[]]