public sealed class CheckGroundingSpec : IMessage<CheckGroundingSpec>, IEquatable<CheckGroundingSpec>, IDeepCloneable<CheckGroundingSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 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."],[[["The latest version of the `CheckGroundingSpec` class is 1.6.0, with several previous versions available, including versions 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06."],["`CheckGroundingSpec` is a class within the Google.Cloud.DiscoveryEngine.V1 namespace, part of the Discovery Engine v1 API, used to specify parameters for a grounding check."],["This class implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["`CheckGroundingSpec` has a `CitationThreshold` property, which allows setting the threshold for fact citation in answer candidates, with a default value of 0.6 if unset."],["The `CheckGroundingSpec` class also implements a boolean property, `HasCitationThreshold`, that allows users to check whether the `citation_threshold` field has been set."]]],[]]