Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RagChunk (v1.7.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagChunk.

A RagChunk includes the content of a chunk of a RagFile, and associated metadata.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_span

def page_span() -> ::Google::Cloud::AIPlatform::V1::RagChunk::PageSpan
Returns

#page_span=

def page_span=(value) -> ::Google::Cloud::AIPlatform::V1::RagChunk::PageSpan
Parameter
Returns

#text

def text() -> ::String
Returns
  • (::String) — The content of the chunk.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — The content of the chunk.
Returns
  • (::String) — The content of the chunk.