0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

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

Response message for the
GroundedGenerationService.CheckGrounding
method.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `support_score` | `float` The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned. This field is a member of `oneof`_ `_support_score`. |
| `cited_chunks` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1.types.FactChunk]` List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. |
| `cited_facts` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1.types.CheckGroundingResponse.CheckGroundingFactChunk]` List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. |
| `claims` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1.types.CheckGroundingResponse.Claim]` Claim texts and citation info across all claims in the answer candidate. |

## Classes

### CheckGroundingFactChunk

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

Fact chunk for grounding check.

### Claim

    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>