Semafind / semadb

No fuss multi-index hybrid vector database / search engine
https://semadb.com/
Apache License 2.0
9 stars 2 forks source link

Check cosine distance metric with dot product #4

Closed nuric closed 11 months ago

nuric commented 11 months ago

The naming using cosine but it is probably implementing dot product instead. We should check the naming and update accordingly.

nuric commented 11 months ago

The naming is correct, the cosine distance is defined as 1 - dot(x,y) assuming the vectors are normalised. We might enable the dot product distance in the future although it is not really metric.