Skip to content

Read vector example #2568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

curran
Copy link
Contributor

@curran curran commented Jul 12, 2023

Description

This adds a snippet to examples/search-knn.js that clarifies how one would read a vector back out of Redis after having stored it.

I had to do this myself in my app logic, after having gotten the vector similarity search basically working, as a means of checking whether a given vector had already been computed.

Closes #2566

Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclear how to retrieve vector
1 participant