Package version:

Enumeration KnownVectorSearchAlgorithmMetric

Known values of VectorSearchAlgorithmMetric that the service accepts.

Enumeration Members

Enumeration Members

Cosine: "cosine"

Measures the angle between vectors to quantify their similarity, disregarding magnitude. The smaller the angle, the closer the similarity.

DotProduct: "dotProduct"

Calculates the sum of element-wise products to gauge alignment and magnitude similarity. The larger and more positive, the closer the similarity.

Euclidean: "euclidean"

Computes the straight-line distance between vectors in a multi-dimensional space. The smaller the distance, the closer the similarity.

Hamming: "hamming"

Only applicable to bit-packed binary data types. Determines dissimilarity by counting differing positions in binary vectors. The fewer differences, the closer the similarity.