public sealed class CheckGroundingResponse : IMessage<CheckGroundingResponse>, IEquatable<CheckGroundingResponse>, IDeepCloneable<CheckGroundingResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CheckGroundingResponse.
Response message for the
[GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1.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"]],[["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-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCheckGroundingResponse\u003c/code\u003e class is 1.6.0, as indicated by the version list provided at the top of the content.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace, residing within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCheckGroundingResponse\u003c/code\u003e serves as the response message for the \u003ccode\u003eGroundedGenerationService.CheckGrounding\u003c/code\u003e method within the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides information about cited facts (\u003ccode\u003eCitedChunks\u003c/code\u003e) and claims (\u003ccode\u003eClaims\u003c/code\u003e) in an answer candidate, alongside a \u003ccode\u003eSupportScore\u003c/code\u003e that evaluates the validity of claims.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<CheckGroundingResponse>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CheckGroundingResponse>\u003c/code\u003e and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with methods for object comparison and message handling.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class CheckGroundingResponse (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.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 v1 API class CheckGroundingResponse.\n\nResponse message for the\n\\[GroundedGenerationService.CheckGrounding\\]\\[google.cloud.discoveryengine.v1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.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."]]