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

com.pulumi.awsnative.bedrock.kotlin.outputs.KnowledgeBaseMongoDbAtlasFieldMapping.kt Maven / Gradle / Ivy

@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.
 * @property vectorField The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
 */
public data class KnowledgeBaseMongoDbAtlasFieldMapping(
    public val metadataField: String,
    public val textField: String,
    public val vectorField: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.KnowledgeBaseMongoDbAtlasFieldMapping): KnowledgeBaseMongoDbAtlasFieldMapping = KnowledgeBaseMongoDbAtlasFieldMapping(
            metadataField = javaType.metadataField(),
            textField = javaType.textField(),
            vectorField = javaType.vectorField(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy