From: fsommers (@fsommers) <noreply+fsommers@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #640: Late interaction embedding support
Date: Sat, 17 May 2025 00:47:47 +0000
Message-ID: <gh-pgvector-pgvector-640-c2887900962@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-640@github.com>
References: <gh-pgvector-pgvector-640@github.com>
Thanks @ankane! I will use that approach. I have a quick question about the examples: In the ColQwen example you use bit[128] but the example you reference here uses vector(128). The bit[] example binary quantizes the ColQwen embedding vectors. My understanding is that this works well, because even though the quantization loses the magnitude, it keeps the vector direction, which works well for the similarity search. If you could kindly comment / share some opinions on the tradeoffs between bit[] vs vector embeddings for this use-case, it'd be much appreciated! Is there an advantage to the bit[] representation vs just storing the floating-point vector values that ColQwen produces? (Of course, using cosine vs Hemming distance in the vector case). Thanks, in advance.