Candidate(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A response candidate generated from the model.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
index |
int
Index of the candidate. |
content |
google.cloud.discoveryengine_v1.types.GroundedGenerationContent
Content of the candidate. |
grounding_score |
float
The overall grounding score for the candidate, in the range of [0, 1]. This field is a member of oneof _ _grounding_score .
|
grounding_metadata |
google.cloud.discoveryengine_v1.types.GenerateGroundedContentResponse.Candidate.GroundingMetadata
Grounding metadata for the generated content. |
Classes
GroundingMetadata
GroundingMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Citation for the generated content.