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

com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfiguration.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.bedrock.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property chunkingConfiguration Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. See `chunking_configuration` block for details.
 * @property customTransformationConfiguration Configuration for custom transformation of data source documents.
 * @property parsingConfiguration Configuration for custom parsing of data source documents. See `parsing_configuration` block for details.
 */
public data class AgentDataSourceVectorIngestionConfiguration(
    public val chunkingConfiguration: AgentDataSourceVectorIngestionConfigurationChunkingConfiguration? = null,
    public val customTransformationConfiguration: AgentDataSourceVectorIngestionConfigurationCustomTransformationConfiguration? = null,
    public val parsingConfiguration: AgentDataSourceVectorIngestionConfigurationParsingConfiguration? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.bedrock.outputs.AgentDataSourceVectorIngestionConfiguration): AgentDataSourceVectorIngestionConfiguration = AgentDataSourceVectorIngestionConfiguration(
            chunkingConfiguration = javaType.chunkingConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationChunkingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            customTransformationConfiguration = javaType.customTransformationConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationCustomTransformationConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            parsingConfiguration = javaType.parsingConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.bedrock.kotlin.outputs.AgentDataSourceVectorIngestionConfigurationParsingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy