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"]],[["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\u003eCheckGroundingSpec\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.4.0, with links to other versions of the API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCheckGroundingSpec\u003c/code\u003e is a class used to specify grounding checks, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple 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 \u003ccode\u003eCheckGroundingSpec\u003c/code\u003e class has two constructors: a default constructor and one that accepts another \u003ccode\u003eCheckGroundingSpec\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a property \u003ccode\u003eCitationThreshold\u003c/code\u003e, a double that determines the strength of fact citations in answer candidates and a related property \u003ccode\u003eHasCitationThreshold\u003c/code\u003e, a boolean indicating if the threshold is set.\u003c/p\u003e\n"]]],[],null,[]]