ChunkingStrategy

@Serializable
data class ChunkingStrategy(val type: String = "auto", val static: StaticChunking? = null)

File chunking strategy. Omit static for automatic chunking.

Constructors

Link copied to clipboard
constructor(type: String = "auto", static: StaticChunking? = null)

Properties

Link copied to clipboard
@SerialName(value = "static")
val static: StaticChunking? = null

Static chunk sizes, required when type is static.

Link copied to clipboard
@EncodeDefault(mode = EncodeDefault.Mode.ALWAYS)
@SerialName(value = "type")
val type: String

Either auto or static.