{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/6"}],"enrichment":{"capability":"Integrates BM25 full-text search retrieval into LlamaIndex applications, enabling keyword-based document ranking and retrieval without external dependencies.","skillfed_tags":["retrieval-augmented-generation","information-retrieval","llama-index-integration"],"use_cases":["Build a RAG pipeline where keyword matching is the primary retrieval strategy before passing results to an LLM.","Add full-text search to a document Q&A system without setting up a separate search engine.","Combine BM25 retrieval with other LlamaIndex retrievers in a hybrid or ensemble approach.","Index and retrieve from domain-specific documents where exact keyword matches are important.","Prototype or test retrieval logic quickly without infrastructure overhead."],"what_it_does":"This package provides a BM25-based retriever for LlamaIndex, a framework for building retrieval-augmented generation (RAG) applications. BM25 is a probabilistic ranking function that scores documents based on keyword relevance, making it useful for traditional full-text search within LlamaIndex pipelines. The retriever accepts a collection of documents, builds an index using the bm25s library, and returns ranked results for text queries.\n\nIt sits between your document collection and LlamaIndex's query pipeline, handling the retrieval step without requiring external search infrastructure. The package depends on bm25s for the core ranking algorithm, llama-index-core for integration hooks, and pystemmer for linguistic preprocessing. It's designed for developers who want keyword-based retrieval as part of a larger LlamaIndex application, particularly when semantic or hybrid search isn't the primary need.","worth_installing":"Yes, if you're building a LlamaIndex application and need straightforward keyword-based retrieval. The low install friction, active maintenance, MIT license, and zero known vulnerabilities make it a safe choice. Install only if BM25 ranking fits your retrieval needs; for semantic or dense vector search, you'd want a different retriever."},"id":"llama-index-retrievers-bm25","links":{"html":"https://skillfed.io/packages/llama-index-retrievers-bm25","md":"https://skillfed.io/packages/llama-index-retrievers-bm25.md","pypi":"https://pypi.org/project/llama-index-retrievers-bm25/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-13","license_spdx":"MIT","license_treatment":"permissive","name":"llama-index-retrievers-bm25","python_support":"supports_current","summary":"llama-index retrievers bm25 integration"},"popularity":{"monthly_downloads":326294,"position":7578,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.1"}
