-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add vector search #36
Comments
I think this is a duplicate of #26 |
I am not sure it is.. a full RAG would be something opinionated with a bunch of ideas on how you ingest etc. This would possibly be a simple primitive a RAG could use. But .. separation of responsibilities here is actually murky and very much depends on where the maintainer would like to take this. But do close the issue if I am noisy :) |
@OriPekelman Have you seen https://github.com/ankane/neighbor? It integrates |
I'm afraid we're not going to support vector search #26 (comment) |
It would be nice to find a cool API that would allow to use some vector search capabilities with shocking simplicity.
There clearly is going to be here a system boundaries/responsibilities issue as to the relationship with grabbing embeddings...
But from an API perspective something like:
relevant_senior_jobs=Job.similar_to(user).where(level: 'senior')
relevant_senior_jobs=Job.similar_to_description(user.bio).where(level: 'senior')
relevant_jobs=Job.similar_to_description(embeddings: [1,2,3], distance: :cosine)
I'd suggest pg_vector as baseline with an alternate implementation with meilisearch (to keep us honest on generality - they have very different APIs).
The text was updated successfully, but these errors were encountered: