We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Candidate.grounding_metadata
1 parent d7a89a0 commit b22a8b8Copy full SHA for b22a8b8
vertexai/generative_models/_generative_models.py
@@ -1739,6 +1739,10 @@ def safety_ratings(self) -> Sequence[gapic_content_types.SafetyRating]:
1739
def citation_metadata(self) -> gapic_content_types.CitationMetadata:
1740
return self._raw_candidate.citation_metadata
1741
1742
+ @property
1743
+ def grounding_metadata(self) -> gapic_content_types.GroundingMetadata:
1744
+ return self._raw_candidate.grounding_metadata
1745
+
1746
# GenerationPart properties
1747
@property
1748
def text(self) -> str:
0 commit comments