Enum VectorSimilarity
Vector similarity function to use to search for top K-nearest neighbors. See How to Index Fields for Vector Search for more information.
public enum VectorSimilarity
Fields
Euclidean = 0Measures the distance between ends of vectors.
Cosine = 1Measures similarity based on the angle between vectors.
DotProduct = 2Measures similarity like cosine, but takes into account the magnitude of the vector.