Discovery Engine v1beta API - Class CheckGroundingResponse (1.0.0-beta12)

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.

Inheritance

object > CheckGroundingResponse

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CheckGroundingResponse()

public CheckGroundingResponse()

CheckGroundingResponse(CheckGroundingResponse)

public CheckGroundingResponse(CheckGroundingResponse other)
Parameter
NameDescription
otherCheckGroundingResponse

Properties

CitedChunks

public RepeatedField<FactChunk> CitedChunks { get; }

List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.

Property Value
TypeDescription
RepeatedFieldFactChunk

Claims

public RepeatedField<CheckGroundingResponse.Types.Claim> Claims { get; }

Claim texts and citation info across all claims in the answer candidate.

Property Value
TypeDescription
RepeatedFieldCheckGroundingResponseTypesClaim

HasSupportScore

public bool HasSupportScore { get; }

Gets whether the "support_score" field is set

Property Value
TypeDescription
bool

SupportScore

public float SupportScore { get; set; }

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.

Property Value
TypeDescription
float