redis-om-node
redis-om-node copied to clipboard
Vector Similarity Search
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.
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.
CC @leibale We talked about it...
So, as I understand there is no VSS support in Redis OM yet?
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.