DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig

data class DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig(val chunkSize: Int? = null, val includeAncestorHeadings: Boolean? = null)

Constructors

constructor(chunkSize: Int? = null, includeAncestorHeadings: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val chunkSize: Int? = null

The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.

Link copied to clipboard

Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.