ChunkingConfig

@Serializable
data class ChunkingConfig(val chunkSize: Int? = null, val chunkOverlap: Int? = null, val whiteSpaceConfig: WhiteSpaceConfig? = null)

Config for telling the service how to chunk the data.

Constructors

Link copied to clipboard
constructor(chunkSize: Int? = null, chunkOverlap: Int? = null, whiteSpaceConfig: WhiteSpaceConfig? = null)

Properties

Link copied to clipboard
val chunkOverlap: Int?

The overlap between chunks.

Link copied to clipboard
val chunkSize: Int?

The size of the chunks.

Link copied to clipboard

Config for white space chunking.