Discovery Engine v1 API - Class CheckGroundingResponse (1.1.0)

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.

Inheritance

object > CheckGroundingResponse

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

CheckGroundingResponse()

public CheckGroundingResponse()

CheckGroundingResponse(CheckGroundingResponse)

public CheckGroundingResponse(CheckGroundingResponse other)
Parameter
Name Description
other CheckGroundingResponse

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
Type Description
RepeatedFieldFactChunk

Claims

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

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

Property Value
Type Description
RepeatedFieldCheckGroundingResponseTypesClaim

HasSupportScore

public bool HasSupportScore { get; }

Gets whether the "support_score" field is set

Property Value
Type Description
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
Type Description
float