-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore: add DenseRetriever
abstraction
#3252
Conversation
This reverts commit 6138fdf.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cool! I'm really happy for this change 🤩 There is one "big" question we might want to address, the other are smaller notes. Thank you for taking care of this!
This reverts commit 83cf8f3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you 😊
Related Issues
update_embeddings
(see feat: FAISS in OpenSearch: Support HNSW for cosine #3217): get rid of # type: ignoreBaseRetriever
deepcopies all documents at indexing #3242Proposed Changes:
DenseRetriever
abstraction to facilitate usage of retrievers in document store'supdate_embeddings
BaseDocumentStore_validate_embeddings_shape
)Breaking Changes:
DensePassageRetriever
andEmbeddingRetriever
:embed_queries
's arg changed fromtexts
toqueries
How did you test it?
Notes for the reviewer
Checklist