DistanceMetric

The metric to use to determine the distance between vectors in your index. You can use one of the following values:

  • L2

  • Cosine

  • InnerProduct. If you use InnerProduct then your vectors must be pre-normalized.

Type: String
Default: L2
Required: No
Configuration Section: VectorIndex
Example: DistanceMetric=L2
See Also: