Skip to content
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

Sample identifiers for semantic search #212

Open
j-adamczyk opened this issue Feb 27, 2023 · 2 comments
Open

Sample identifiers for semantic search #212

j-adamczyk opened this issue Feb 27, 2023 · 2 comments

Comments

@j-adamczyk
Copy link

I need to perform semantic search with ANN for images, something similar to Google Lens. For this, I need nearest neighbors from my dataset, calculated on image embeddings. However, I also need an image identifier, to actually go from nearest neighbors to the images they represent. How can I do this?

A similar issue was closed by the author with no solution.

@j-adamczyk
Copy link
Author

I found it - query() method returns indices of nearest neighbors. It would be nice to have a semantic search example on the docs, though. I couls make a PR for this, if maintainers agree this would be valuable.

@lmcinnes
Copy link
Owner

I would love a sematic search example for the docs; I don't have time right now to get it done, so a PR would be greatly appreciated.

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

No branches or pull requests

2 participants