com.pulumi.aws.bedrock.kotlin.inputs.AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs.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.AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property metadataField Name of the field in which Amazon Bedrock stores metadata about the vector store.
* @property textField Name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
*/
public data class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs(
public val metadataField: Output? = null,
public val textField: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.bedrock.inputs.AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs =
com.pulumi.aws.bedrock.inputs.AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs.builder()
.metadataField(metadataField?.applyValue({ args0 -> args0 }))
.textField(textField?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs].
*/
@PulumiTagMarker
public class AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgsBuilder
internal constructor() {
private var metadataField: Output? = null
private var textField: Output? = null
/**
* @param value Name of the field in which Amazon Bedrock stores metadata about the vector store.
*/
@JvmName("ywmgcwypriqqfpnw")
public suspend fun metadataField(`value`: Output) {
this.metadataField = value
}
/**
* @param value Name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
*/
@JvmName("slswwaotjkxsmvkd")
public suspend fun textField(`value`: Output) {
this.textField = value
}
/**
* @param value Name of the field in which Amazon Bedrock stores metadata about the vector store.
*/
@JvmName("aglsuhxcojigqwdr")
public suspend fun metadataField(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.metadataField = mapped
}
/**
* @param value Name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
*/
@JvmName("bldqfbufemgacdhf")
public suspend fun textField(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.textField = mapped
}
internal fun build(): AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs = AgentKnowledgeBaseStorageConfigurationPineconeConfigurationFieldMappingArgs(
metadataField = metadataField,
textField = textField,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy