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,[]]