OptionalcustomOptional. User-provided metadata about the retrieved context. This field is not supported in Vertex AI.
OptionaldocumentOutput only. The full resource name of the referenced Vertex AI Search document. This is used to identify the specific document that was retrieved. The format is projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}. This field is not supported in Gemini API.
OptionalfileOptional. Name of the FileSearchStore containing the document. Example: fileSearchStores/123. This field is not supported in Vertex AI.
OptionalragAdditional context for a Retrieval-Augmented Generation (RAG) retrieval result. This is populated only when the RAG retrieval tool is used. This field is not supported in Gemini API.
OptionaltextThe content of the retrieved data source.
OptionaltitleThe title of the retrieved data source.
OptionaluriThe URI of the retrieved data source.
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.