Class GroundingSupport (0.13.8)

GroundingSupport(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
start_index int
Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).
end_index int
Required. End of the claim, exclusive.
grounding_score float
A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks. This field is a member of oneof_ _grounding_score.
grounding_check_required bool
Indicates that this claim required grounding check. When the system decided this claim didn't require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore grounding_score, sources is not returned. This field is a member of oneof_ _grounding_check_required.
sources MutableSequence[google.cloud.discoveryengine_v1.types.Answer.CitationSource]
Optional. Citation sources for the claim.