
com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBaseConfiguration.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 com.pulumi.awsnative.bedrock.kotlin.enums.KnowledgeBaseType
import kotlin.Suppress
/**
* Contains details about the embeddings model used for the knowledge base.
* @property type The type of data that the data source is converted into for the knowledge base.
* @property vectorKnowledgeBaseConfiguration Contains details about the embeddings model that'sused to convert the data source.
*/
public data class KnowledgeBaseConfiguration(
public val type: KnowledgeBaseType,
public val vectorKnowledgeBaseConfiguration: KnowledgeBaseVectorKnowledgeBaseConfiguration,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.KnowledgeBaseConfiguration): KnowledgeBaseConfiguration = KnowledgeBaseConfiguration(
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.enums.KnowledgeBaseType.Companion.toKotlin(args0)
}),
vectorKnowledgeBaseConfiguration = javaType.vectorKnowledgeBaseConfiguration().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBaseVectorKnowledgeBaseConfiguration.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy