AiFeatureOnlineStoreFeatureviewVectorSearchConfig

data class AiFeatureOnlineStoreFeatureviewVectorSearchConfig(val bruteForceConfig: AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfig? = null, val crowdingColumn: String? = null, val distanceMeasureType: String? = null, val embeddingColumn: String, val embeddingDimension: Int? = null, val filterColumns: List<String>? = null, val treeAhConfig: AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig? = null)

Constructors

constructor(bruteForceConfig: AiFeatureOnlineStoreFeatureviewVectorSearchConfigBruteForceConfig? = null, crowdingColumn: String? = null, distanceMeasureType: String? = null, embeddingColumn: String, embeddingDimension: Int? = null, filterColumns: List<String>? = null, treeAhConfig: AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.

Link copied to clipboard
val crowdingColumn: String? = null

Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowdingAttribute.

Link copied to clipboard

The distance measure used in nearest neighbor search. For details on allowed values, see the API documentation. Possible values are: SQUARED_L2_DISTANCE, COSINE_DISTANCE, DOT_PRODUCT_DISTANCE.

Link copied to clipboard

Column of embedding. This column contains the source data to create index for vector search.

Link copied to clipboard
val embeddingDimension: Int? = null

The number of dimensions of the input embedding.

Link copied to clipboard
val filterColumns: List<String>? = null

Columns of features that are used to filter vector search results.

Link copied to clipboard

Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396 Structure is documented below.