Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext.
Chunk from context retrieved by the retrieval tools.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document_name
def document_name() -> ::String
Returns
- (::String) — Output only. The full document name for the referenced Vertex AI Search document.
#rag_chunk
def rag_chunk() -> ::Google::Cloud::AIPlatform::V1::RagChunk
Returns
- (::Google::Cloud::AIPlatform::V1::RagChunk) — Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
#rag_chunk=
def rag_chunk=(value) -> ::Google::Cloud::AIPlatform::V1::RagChunk
Parameter
- value (::Google::Cloud::AIPlatform::V1::RagChunk) — Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
Returns
- (::Google::Cloud::AIPlatform::V1::RagChunk) — Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
#text
def text() -> ::String
Returns
- (::String) — Text of the attribution.
#text=
def text=(value) -> ::String
Parameter
- value (::String) — Text of the attribution.
Returns
- (::String) — Text of the attribution.
#title
def title() -> ::String
Returns
- (::String) — Title of the attribution.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Title of the attribution.
Returns
- (::String) — Title of the attribution.
#uri
def uri() -> ::String
Returns
- (::String) — URI reference of the attribution.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — URI reference of the attribution.
Returns
- (::String) — URI reference of the attribution.