Class: Google::Cloud::AIPlatform::V1::RagChunk::PageSpan

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb

Overview

Represents where the chunk starts and ends in the document.

Instance Attribute Summary collapse

Instance Attribute Details

#first_page::Integer

Returns Page where chunk starts in the document. Inclusive. 1-indexed.

Returns:

  • (::Integer)

    Page where chunk starts in the document. Inclusive. 1-indexed.



352
353
354
355
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb', line 352

class PageSpan
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#last_page::Integer

Returns Page where chunk ends in the document. Inclusive. 1-indexed.

Returns:

  • (::Integer)

    Page where chunk ends in the document. Inclusive. 1-indexed.



352
353
354
355
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb', line 352

class PageSpan
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end