Closed as duplicate of#26
Description
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).
Metadata
Metadata
Assignees
Labels
No labels