GroundingSupport(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Grounding support for a claim in answer_text
.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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. |