GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig class
Configuration for vector search.
Constructors
-
GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig({Input<
Map< ? bruteForceConfig, Input<String, dynamic> >String> ? crowdingColumn, Input<GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigDistanceMeasureType> ? distanceMeasureType, Input<String> ? embeddingColumn, Input<int> ? embeddingDimension, Input<List< ? filterColumns, Input<String> >GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAHConfig> ? treeAhConfig}) -
Creates a new GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig.
bruteForceConfigOptional. 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.crowdingColumnOptional. 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 crowding_attribute.distanceMeasureTypeOptional. The distance measure used in nearest neighbor search.embeddingColumnOptional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.embeddingDimensionOptional. The number of dimensions of the input embedding.filterColumnsOptional. Columns of features that're used to filter vector search results.treeAhConfigOptional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396const -
GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bruteForceConfig
→ Input<
Map< ?String, dynamic> > -
Optional. 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> ? -
Optional. 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 crowding_attribute.
final
-
distanceMeasureType
→ Input<
GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigDistanceMeasureType> ? -
Optional. The distance measure used in nearest neighbor search.
final
-
embeddingColumn
→ Input<
String> ? -
Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.
final
-
embeddingDimension
→ Input<
int> ? -
Optional. The number of dimensions of the input embedding.
final
-
filterColumns
→ Input<
List< ?String> > -
Optional. Columns of features that're 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<
GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAHConfig> ? -
Optional. 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
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited