Class RetrievedContext (1.102.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_v1.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.

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