VectorSearchAlgorithmMetric Enum

The similarity metric to use for vector comparisons. It is recommended to choose the same similarity metric as the embedding model was trained on.

Inheritance
builtins.str
VectorSearchAlgorithmMetric
VectorSearchAlgorithmMetric

Constructor

VectorSearchAlgorithmMetric(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Fields

COSINE
DOT_PRODUCT
EUCLIDEAN
HAMMING