Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::GroundingChunk (v0.63.0)

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

#retrieved_context=

def retrieved_context=(value) -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext
Parameter
Returns

#web

def web() -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::Web
Returns
  • (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web) — Grounding chunk from the web.

    Note: The following fields are mutually exclusive: web, retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.

#web=

def web=(value) -> ::Google::Cloud::AIPlatform::V1::GroundingChunk::Web
Parameter
  • value (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web) — Grounding chunk from the web.

    Note: The following fields are mutually exclusive: web, retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web) — Grounding chunk from the web.

    Note: The following fields are mutually exclusive: web, retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.