AiFeatureOnlineStoreFeatureviewVectorSearchConfig class
Constructors
-
AiFeatureOnlineStoreFeatureviewVectorSearchConfig({Input<Map<String, dynamic>?>? bruteForceConfig, Input<String?>? crowdingColumn, Input<String?>? distanceMeasureType, required Input<String> embeddingColumn, Input<int?>? embeddingDimension, Input<List<String>?>? filterColumns, Input<AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig?>? treeAhConfig})
-
Creates a new AiFeatureOnlineStoreFeatureviewVectorSearchConfig.
bruteForceConfig 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.
crowdingColumn 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.
distanceMeasureType The distance measure used in nearest neighbor search.
embeddingColumn Column of embedding. This column contains the source data to create index for vector search.
embeddingDimension The number of dimensions of the input embedding.
filterColumns Columns of features that are used to filter vector search results.
treeAhConfig 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
const
-
AiFeatureOnlineStoreFeatureviewVectorSearchConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
bruteForceConfig
→ Input<Map<String, dynamic>?>?
-
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.
final
-
crowdingColumn
→ Input<String?>?
-
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.
final
-
distanceMeasureType
→ Input<String?>?
-
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.
final
-
embeddingColumn
→ Input<String>
-
Column of embedding. This column contains the source data to create index for vector search.
final
-
embeddingDimension
→ Input<int?>?
-
The number of dimensions of the input embedding.
final
-
filterColumns
→ Input<List<String>?>?
-
Columns of features that are used to filter vector search results.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
treeAhConfig
→ Input<AiFeatureOnlineStoreFeatureviewVectorSearchConfigTreeAhConfig?>?
-
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.
final