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

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

Represents where the chunk starts and ends in the document.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#first_page

def first_page() -> ::Integer
Returns
  • (::Integer) — Page where chunk starts in the document. Inclusive. 1-indexed.

#first_page=

def first_page=(value) -> ::Integer
Parameter
  • value (::Integer) — Page where chunk starts in the document. Inclusive. 1-indexed.
Returns
  • (::Integer) — Page where chunk starts in the document. Inclusive. 1-indexed.

#last_page

def last_page() -> ::Integer
Returns
  • (::Integer) — Page where chunk ends in the document. Inclusive. 1-indexed.

#last_page=

def last_page=(value) -> ::Integer
Parameter
  • value (::Integer) — Page where chunk ends in the document. Inclusive. 1-indexed.
Returns
  • (::Integer) — Page where chunk ends in the document. Inclusive. 1-indexed.