GetAiIndexMetadataConfig class
Constructors
-
GetAiIndexMetadataConfig({required Input<List<GetAiIndexMetadataConfigAlgorithmConfig>> algorithmConfigs, required Input<int> approximateNeighborsCount, required Input<int> dimensions, required Input<String> distanceMeasureType, required Input<String> featureNormType, required Input<String> shardSize})
-
Creates a new GetAiIndexMetadataConfig.
algorithmConfigs The configuration with regard to the algorithms used for efficient search. This field may be required based on your configuration.
approximateNeighborsCount The default number of neighbors to find via approximate search before exact reordering is
dimensions The number of dimensions of the input vectors.
distanceMeasureType The distance measure used in nearest neighbor search. The value must be one of the followings:
featureNormType Type of normalization to be carried out on each vector. The value must be one of the followings:
shardSize Index data is split into equal parts to be processed. These are called "shards".
const
-
GetAiIndexMetadataConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
algorithmConfigs
→ Input<List<GetAiIndexMetadataConfigAlgorithmConfig>>
-
The configuration with regard to the algorithms used for efficient search. This field may be required based on your configuration.
final
-
approximateNeighborsCount
→ Input<int>
-
The default number of neighbors to find via approximate search before exact reordering is
performed. Exact reordering is a procedure where results returned by an
approximate search algorithm are reordered via a more expensive distance computation.
Required if tree-AH algorithm is used.
final
-
dimensions
→ Input<int>
-
The number of dimensions of the input vectors.
final
-
distanceMeasureType
→ Input<String>
-
The distance measure used in nearest neighbor search. The value must be one of the followings:
final
-
featureNormType
→ Input<String>
-
Type of normalization to be carried out on each vector. The value must be one of the followings:
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shardSize
→ Input<String>
-
Index data is split into equal parts to be processed. These are called "shards".
The shard size must be specified when creating an index. The value must be one of the followings:
final