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"]],[["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 document provides reference documentation for the \u003ccode\u003eCheckGroundingSpec\u003c/code\u003e class within the Discovery Engine v1beta API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCheckGroundingSpec\u003c/code\u003e is a class used for specifying parameters for grounding checks and is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace, implemented through several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor, \u003ccode\u003eCheckGroundingSpec\u003c/code\u003e, which can be called with or without an \u003ccode\u003eother\u003c/code\u003e parameter, for the purpose of creating an instance of itself.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties like \u003ccode\u003eCitationThreshold\u003c/code\u003e, a double representing the threshold for citation strength (defaulting to 0.6 if not set), and \u003ccode\u003eHasCitationThreshold\u003c/code\u003e, a boolean to indicate if the citation threshold is set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCheckGroundingSpec\u003c/code\u003e inherits from object and implements IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class CheckGroundingSpec (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec) \n\n public sealed class CheckGroundingSpec : IMessage\u003cCheckGroundingSpec\u003e, IEquatable\u003cCheckGroundingSpec\u003e, IDeepCloneable\u003cCheckGroundingSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class CheckGroundingSpec.\n\nSpecification for the grounding check. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CheckGroundingSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CheckGroundingSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CheckGroundingSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CheckGroundingSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### CheckGroundingSpec()\n\n public CheckGroundingSpec()\n\n### CheckGroundingSpec(CheckGroundingSpec)\n\n public CheckGroundingSpec(CheckGroundingSpec other)\n\nProperties\n----------\n\n### CitationThreshold\n\n public double CitationThreshold { get; set; }\n\nThe threshold (in \\[0,1\\]) used for determining whether a fact must be\ncited for a claim in the answer candidate. Choosing a higher threshold\nwill lead to fewer but very strong citations, while choosing a lower\nthreshold may lead to more but somewhat weaker citations. If unset, the\nthreshold will default to 0.6.\n\n### HasCitationThreshold\n\n public bool HasCitationThreshold { get; }\n\nGets whether the \"citation_threshold\" field is set"]]