redis-om-node icon indicating copy to clipboard operation
redis-om-node copied to clipboard

Vector Similarity Search

Open CaptainCodeman opened this issue 2 years ago • 4 comments

I've been experimenting with the Vector similarity feature and have some uses for it (with both text and images) so plan on adding support when I have chance.

Early thoughts are to have a new field type of vector that would accept one of two similarity objects containing the parameters for each type (FLAT vs NHSW)

The actual JavaScript object datatype would be an Uint8Array or Float32Array and the lib would handle encoding for Redis.

It's likely that some additional search options would also be required.

CaptainCodeman avatar Jun 09 '22 17:06 CaptainCodeman

I think this would be popular internally. As VSS is fairly new, I could see changes and improvements to it happening down the road that might change how we'd want to abstract it from Redis OM. So, we'll want to make sure we document it with appropriate caveats.

guyroyse avatar Jun 10 '22 13:06 guyroyse

CC @leibale We talked about it...

chayim avatar Jun 19 '22 07:06 chayim

So, as I understand there is no VSS support in Redis OM yet?

DenisLutsky avatar Aug 01 '23 12:08 DenisLutsky

That is correct. It's desired but not implemented yet. This PR is out of date with current changes but I do hope to merge it sometime in the next couple of months.

guyroyse avatar Aug 01 '23 16:08 guyroyse