DistanceStrategy#
- class langchain_azure_ai.vectorstores.utils.DistanceStrategy(value)[source]#
Enumerator of the Distance strategies for calculating distances between vectors.
- EUCLIDEAN_DISTANCE = 'EUCLIDEAN_DISTANCE'#
- MAX_INNER_PRODUCT = 'MAX_INNER_PRODUCT'#
- DOT_PRODUCT = 'DOT_PRODUCT'#
- JACCARD = 'JACCARD'#
- COSINE = 'COSINE'#
Examples using DistanceStrategy