Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GroundingChunk.
Grounding chunk.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#retrieved_context
def retrieved_context() -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext
Returns
- (::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext) — Grounding chunk from context retrieved by the retrieval tools.
#retrieved_context=
def retrieved_context=(value) -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext
Parameter
- value (::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext) — Grounding chunk from context retrieved by the retrieval tools.
Returns
- (::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext) — Grounding chunk from context retrieved by the retrieval tools.
#web
def web() -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::Web
Returns
- (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web) — Grounding chunk from the web.
#web=
def web=(value) -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::Web
Parameter
- value (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web) — Grounding chunk from the web.
Returns
- (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web) — Grounding chunk from the web.