Discovery Engine v1beta API - Class CheckGroundingResponse.Types.Claim (1.0.0-beta15)

public sealed class CheckGroundingResponse.Types.Claim : IMessage<CheckGroundingResponse.Types.Claim>, IEquatable<CheckGroundingResponse.Types.Claim>, IDeepCloneable<CheckGroundingResponse.Types.Claim>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class CheckGroundingResponse.Types.Claim.

Text and citation info for a claim in the answer candidate.

Inheritance

object > CheckGroundingResponse.Types.Claim

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Claim()

public Claim()

Claim(Claim)

public Claim(CheckGroundingResponse.Types.Claim other)
Parameter
Name Description
other CheckGroundingResponseTypesClaim

Properties

CitationIndices

public RepeatedField<int> CitationIndices { get; }

A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact.

Property Value
Type Description
RepeatedFieldint

ClaimText

public string ClaimText { get; set; }

Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found.

Property Value
Type Description
string

EndPos

public int EndPos { get; set; }

Position indicating the end of the claim in the answer candidate, exclusive.

Property Value
Type Description
int

GroundingCheckRequired

public bool GroundingCheckRequired { get; set; }

Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore [citation_indices][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.citation_indices], and [anti_citation_indices][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.anti_citation_indices] should not be returned.

Property Value
Type Description
bool

HasEndPos

public bool HasEndPos { get; }

Gets whether the "end_pos" field is set

Property Value
Type Description
bool

HasGroundingCheckRequired

public bool HasGroundingCheckRequired { get; }

Gets whether the "grounding_check_required" field is set

Property Value
Type Description
bool

HasStartPos

public bool HasStartPos { get; }

Gets whether the "start_pos" field is set

Property Value
Type Description
bool

StartPos

public int StartPos { get; set; }

Position indicating the start of the claim in the answer candidate, measured in bytes.

Property Value
Type Description
int