Interface CheckGroundingSpecOrBuilder (0.63.0)

public interface CheckGroundingSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCitationThreshold()

public abstract double getCitationThreshold()

The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6.

optional double citation_threshold = 1;

Returns
Type Description
double

The citationThreshold.

getEnableClaimLevelScore()

public abstract boolean getEnableClaimLevelScore()

The control flag that enables claim-level grounding score in the response.

optional bool enable_claim_level_score = 4;

Returns
Type Description
boolean

The enableClaimLevelScore.

hasCitationThreshold()

public abstract boolean hasCitationThreshold()

The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6.

optional double citation_threshold = 1;

Returns
Type Description
boolean

Whether the citationThreshold field is set.

hasEnableClaimLevelScore()

public abstract boolean hasEnableClaimLevelScore()

The control flag that enables claim-level grounding score in the response.

optional bool enable_claim_level_score = 4;

Returns
Type Description
boolean

Whether the enableClaimLevelScore field is set.