Class Candidate (0.13.5)

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

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.