KnowledgeBaseSemanticChunkingConfigurationArgs

data class KnowledgeBaseSemanticChunkingConfigurationArgs(val breakpointPercentileThreshold: Output<Double>, val bufferSize: Output<Double>, val maxTokens: Output<Double>) : ConvertibleToJava<KnowledgeBaseSemanticChunkingConfigurationArgs>

Constructors

constructor(breakpointPercentileThreshold: Output<Double>, bufferSize: Output<Double>, maxTokens: Output<Double>)

Properties

Link copied to clipboard

The dissimilarity threshold for splitting chunks.

Link copied to clipboard
val bufferSize: Output<Double>

The buffer size.

Link copied to clipboard
val maxTokens: Output<Double>

The maximum number of tokens that a chunk can contain.

Functions

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