From: michaelbautin (@michaelbautin) <noreply+michaelbautin@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #729: User-defined distance functions
Date: Tue, 10 Dec 2024 01:46:10 +0000
Message-ID: <gh-pgvector-pgvector-729@github.com> (raw)
It would be great to have a way to define custom distance functions and plug them into existing HNSW and IVFFlat implementations. As far as I can see, the current code already incurs Postgres function call overhead when computing the distance.