Closed curran closed 1 year ago
I've taken a stab at the example, but I'm at a loss for how to get it to work from here: https://github.com/redis/node-redis/pull/2352/files
The Python tests for vector similarity search may be useful in constructing a working JS example: https://github.com/RediSearch/RediSearch/blob/06e36d48946ea08bd0d8b76394a4e82eeb919d78/tests/pytests/test_vecsim.py
Hey I got it to work! in https://github.com/redis/node-redis/issues/2351
Also, this is not a "bug", it's a documentation request. I'd remove the "bug" label if I could, but it looks like I can't.
Yea we definitely need a "documentation issue" template (and to be honest the two existing templates need an update as well)
edit: opened an issue about that #2353
@dvora-h @sazzad16 @vladvildanov @shacharPash you all may want to take a look at this as well, for your clients.
It would be great to have a small working example for vector similarity search similar to the search-hashes example.
I'm struggling to figure out how to encode floating point arrays in the correct way to store in Redis, and also how to represent the vector to search by in the query.
Here's some wreckage showing various things I attempted:
Any guidance would be greatly appreciated. Thanks in advance!