Interface CheckGroundingSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckGroundingSpec,CheckGroundingSpec.Builder
@Generated
public interface CheckGroundingSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleThe threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate.booleanThe threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCitationThreshold
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:
- Whether the citationThreshold field is set.
-
getCitationThreshold
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:
- The citationThreshold.
-