RagChunkPageSpan

@Serializable
data class RagChunkPageSpan(val firstPage: Int? = null, val lastPage: Int? = null)

Represents where the chunk starts and ends in the document. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(firstPage: Int? = null, lastPage: Int? = null)

Properties

Link copied to clipboard
val firstPage: Int? = null

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

Link copied to clipboard
val lastPage: Int? = null

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