All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.bedrock.kotlin.outputs

import kotlin.Double
import kotlin.Suppress

/**
 *
 * @property breakpointPercentileThreshold The dissimilarity threshold for splitting chunks.
 * @property bufferSize The buffer size.
 * @property maxToken The maximum number of tokens a chunk can contain.
 */
public data class
AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration(
    public val breakpointPercentileThreshold: Double,
    public val bufferSize: Double,
    public val maxToken: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.bedrock.outputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration): AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration =
            AgentDataSourceVectorIngestionConfigurationChunkingConfigurationSemanticChunkingConfiguration(
                breakpointPercentileThreshold = javaType.breakpointPercentileThreshold(),
                bufferSize = javaType.bufferSize(),
                maxToken = javaType.maxToken(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy