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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Double
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property levelConfigurations Maximum number of tokens to include in a chunk. Must contain two `level_configurations`. See `level_configurations` for details.
 * @property overlapTokens The number of tokens to repeat across chunks in the same layer.
 */
public data class
AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfiguration(
    public val levelConfigurations: List,
    public val overlapTokens: Double,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.bedrock.outputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfiguration): AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfiguration =
            AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfiguration(
                levelConfigurations = javaType.levelConfigurations().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationLevelConfiguration.Companion.toKotlin(args0)
                    })
                }),
                overlapTokens = javaType.overlapTokens(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy