Class GroundingSupport (0.13.5)

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

Grounding info for a claim in the candidate and its support.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
claim_text str
Text for the claim in the candidate. Always provided when a support is found.
support_chunk_indices MutableSequence[int]
A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
support_score float
A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks. This field is a member of oneof_ _support_score.