com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBasePineconeFieldMapping.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.bedrock.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Contains the names of the fields to which to map information about the vector store.
* @property metadataField The name of the field in which Amazon Bedrock stores metadata about the vector store.
* @property textField The 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 KnowledgeBasePineconeFieldMapping(
public val metadataField: String,
public val textField: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.KnowledgeBasePineconeFieldMapping): KnowledgeBasePineconeFieldMapping = KnowledgeBasePineconeFieldMapping(
metadataField = javaType.metadataField(),
textField = javaType.textField(),
)
}
}