Class RetrievedContext (1.151.0)

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

Chunk from context retrieved by the retrieval tools.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
rag_chunk google.cloud.aiplatform_v1beta1.types.RagChunk
Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. This field is a member of oneof_ context_details.
uri str
URI reference of the attribution. This field is a member of oneof_ _uri.
title str
Title of the attribution. This field is a member of oneof_ _title.
text str
Text of the attribution. This field is a member of oneof_ _text.
document_name str
Output only. The full document name for the referenced Vertex AI Search document. This field is a member of oneof_ _document_name.

Methods

RetrievedContext

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

Chunk from context retrieved by the retrieval tools.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields