Interface CheckGroundingSpecOrBuilder (0.41.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.

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.