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

feat(community): BM25 Keyword Search Retriever #6719

Merged
merged 12 commits into from
Sep 10, 2024

Conversation

Mraj23
Copy link
Contributor

@Mraj23 Mraj23 commented Sep 9, 2024

Implements a version of BM25 search using the okapi_bm25package.

Similar feature exists in langchain python: https://python.langchain.com/v0.2/docs/integrations/retrievers/bm25/

Copy link

vercel bot commented Sep 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs 🛑 Canceled (Inspect) Sep 10, 2024 10:24pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Sep 10, 2024 10:24pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. auto:improvement Medium size change to existing code to handle new use-cases labels Sep 9, 2024
@Mraj23 Mraj23 changed the title Bm25 search feat(Langchain): BM25 Keyword Search Retriever Sep 9, 2024
@jacoblee93
Copy link
Collaborator

Ah nice! Will have a look and write up docs.

@jacoblee93 jacoblee93 changed the title feat(Langchain): BM25 Keyword Search Retriever feat(langchain): BM25 Keyword Search Retriever Sep 10, 2024
@jacoblee93 jacoblee93 changed the title feat(langchain): BM25 Keyword Search Retriever feat(community): BM25 Keyword Search Retriever Sep 10, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Sep 10, 2024
@jacoblee93
Copy link
Collaborator

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto:improvement Medium size change to existing code to handle new use-cases size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants