Claim(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Text and citation info for a claim in the answer candidate.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
start_pos |
int
Position indicating the start of the claim in the answer candidate, measured in bytes. This field is a member of oneof _ _start_pos .
|
end_pos |
int
Position indicating the end of the claim in the answer candidate, exclusive. This field is a member of oneof _ _end_pos .
|
claim_text |
str
Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found. |
citation_indices |
MutableSequence[int]
A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact. |
grounding_check_required |
bool
Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned. This field is a member of oneof _ _grounding_check_required .
|