Class RetrievedContext (2.52.0)

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

Context retrieved from a data source to ground the model's response. This is used when a retrieval tool fetches information from a user-provided corpus or a public dataset.

Attributes

Name Description
uri str
Output only. The URI of the retrieved data source.
title str
Output only. The title of the retrieved data source.
text str
Output only. The content of the retrieved data source.