DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs

data class DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs(val chunkSize: Output<Int>? = null, val includeAncestorHeadings: Output<Boolean>? = null) : ConvertibleToJava<DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs>

Constructors

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

Properties

Link copied to clipboard
val chunkSize: Output<Int>? = null

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

Link copied to clipboard
val includeAncestorHeadings: Output<Boolean>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs