pgvector Distance Functions: Cosine vs L2 vs Inner Product
pgvector Distance Functions: Cosine vs L2 vs Inner Product
pgvector's three distance operators look interchangeable at first glance. They all take two vectors, return a number, and work with ORDER BY ... LIMIT. But they measure fundamentally differen...
postgresdba.hashnode.dev4 min read