com.pulumi.aws.bedrock.kotlin.inputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.bedrock.kotlin.inputs
import com.pulumi.aws.bedrock.inputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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
AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgs(
public val levelConfigurations: Output>,
public val overlapTokens: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.bedrock.inputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgs =
com.pulumi.aws.bedrock.inputs.AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgs.builder()
.levelConfigurations(
levelConfigurations.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.overlapTokens(overlapTokens.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgs].
*/
@PulumiTagMarker
public class
AgentDataSourceVectorIngestionConfigurationChunkingConfigurationHierarchicalChunkingConfigurationArgsBuilder
internal constructor() {
private var levelConfigurations:
Output>? =
null
private var overlapTokens: Output? = null
/**
* @param value Maximum number of tokens to include in a chunk. Must contain two `level_configurations`. See `level_configurations` for details.
*/
@JvmName("dyscwefdhbqvdtli")
public suspend fun levelConfigurations(`value`: Output>) {
this.levelConfigurations = value
}
@JvmName("vamkwrugfxuossys")
public suspend fun levelConfigurations(vararg values: Output) {
this.levelConfigurations = Output.all(values.asList())
}
/**
* @param values Maximum number of tokens to include in a chunk. Must contain two `level_configurations`. See `level_configurations` for details.
*/
@JvmName("mmoqurycycryyubt")
public suspend fun levelConfigurations(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy