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

com.pulumi.gcp.vertex.kotlin.outputs.AiIndexMetadataConfigAlgorithmConfigTreeAhConfig.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vertex.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property leafNodeEmbeddingCount Number of embeddings on each leaf node. The default value is 1000 if not set.
 * @property leafNodesToSearchPercent The default percentage of leaf nodes that any query may be searched. Must be in
 * range 1-100, inclusive. The default value is 10 (means 10%) if not set.
 */
public data class AiIndexMetadataConfigAlgorithmConfigTreeAhConfig(
    public val leafNodeEmbeddingCount: Int? = null,
    public val leafNodesToSearchPercent: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.AiIndexMetadataConfigAlgorithmConfigTreeAhConfig): AiIndexMetadataConfigAlgorithmConfigTreeAhConfig =
            AiIndexMetadataConfigAlgorithmConfigTreeAhConfig(
                leafNodeEmbeddingCount = javaType.leafNodeEmbeddingCount().map({ args0 -> args0 }).orElse(null),
                leafNodesToSearchPercent = javaType.leafNodesToSearchPercent().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy