Distance Metrics # Every vector index in SemaDB requires a distance metric to be specified. The distance metric is used to calculate the similarity between two vectors and is a function that takes two vectors as input and returns a scalar value. The smaller the value, the closer the two vectors are.
