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

com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBaseConfiguration.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: 1.24.0.0
Show newest version
@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