Interface RagChunk.PageSpanOrBuilder (3.64.0)

public static interface RagChunk.PageSpanOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFirstPage()

public abstract int getFirstPage()

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

int32 first_page = 1;

Returns
Type Description
int

The firstPage.

getLastPage()

public abstract int getLastPage()

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

int32 last_page = 2;

Returns
Type Description
int

The lastPage.