public sealed class CheckGroundingResponse : IMessage<CheckGroundingResponse>, IEquatable<CheckGroundingResponse>, IDeepCloneable<CheckGroundingResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class CheckGroundingResponse.
Response message for the
[GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding]
method.
The support score for the input answer candidate.
Higher the score, higher is the fraction of claims that are supported by
the provided facts. This is always set when a response is returned.
[[["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\u003eThe \u003ccode\u003eCheckGroundingResponse\u003c/code\u003e class is a response message for the \u003ccode\u003eGroundedGenerationService.CheckGrounding\u003c/code\u003e method within the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checking, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckGroundingResponse\u003c/code\u003e includes properties like \u003ccode\u003eCitedChunks\u003c/code\u003e, \u003ccode\u003eCitedFacts\u003c/code\u003e, and \u003ccode\u003eClaims\u003c/code\u003e, which contain lists of cited facts and claim texts derived from the facts provided in the request, and \u003ccode\u003eSupportScore\u003c/code\u003e which indicates the support level for the answer.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available: a default constructor and one that accepts another \u003ccode\u003eCheckGroundingResponse\u003c/code\u003e object, facilitating the creation of new instances and copies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHasSupportScore\u003c/code\u003e property indicates if a support score has been set, offering a way to check for its availability before accessing the \u003ccode\u003eSupportScore\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class CheckGroundingResponse (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.CheckGroundingResponse)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse) \n\n public sealed class CheckGroundingResponse : IMessage\u003cCheckGroundingResponse\u003e, IEquatable\u003cCheckGroundingResponse\u003e, IDeepCloneable\u003cCheckGroundingResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class CheckGroundingResponse.\n\nResponse message for the\n\\[GroundedGenerationService.CheckGrounding\\]\\[google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CheckGroundingResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse), [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### CheckGroundingResponse()\n\n public CheckGroundingResponse()\n\n### CheckGroundingResponse(CheckGroundingResponse)\n\n public CheckGroundingResponse(CheckGroundingResponse other)\n\nProperties\n----------\n\n### CitedChunks\n\n public RepeatedField\u003cFactChunk\u003e CitedChunks { get; }\n\nList of facts cited across all claims in the answer candidate.\nThese are derived from the facts supplied in the request.\n\n### CitedFacts\n\n public RepeatedField\u003cCheckGroundingResponse.Types.CheckGroundingFactChunk\u003e CitedFacts { get; }\n\nList of facts cited across all claims in the answer candidate.\nThese are derived from the facts supplied in the request.\n\n### Claims\n\n public RepeatedField\u003cCheckGroundingResponse.Types.Claim\u003e Claims { get; }\n\nClaim texts and citation info across all claims in the answer candidate.\n\n### HasSupportScore\n\n public bool HasSupportScore { get; }\n\nGets whether the \"support_score\" field is set\n\n### SupportScore\n\n public float SupportScore { get; set; }\n\nThe support score for the input answer candidate.\nHigher the score, higher is the fraction of claims that are supported by\nthe provided facts. This is always set when a response is returned."]]