GenPark BM25 Lexical Indexer

•
8
•

Implements an Okapi BM25 sparse lexical search engine with Robertson-Spärck Jones IDF and length normalization for hybrid RAG search.

Revolutionize your RAG (Retrieval Augmented Generation) systems with this GenPark AI Agent Skill, providing a high-performance Okapi BM25 sparse lexical search engine. It features robust keyword ranking, incorporating Robertson-Spärck Jones Inverse Document Frequency (RSJ IDF) and document length normalization, to deliver precise and relevant results for hybrid RAG architectures. Designed for efficiency, it offers a pure Python solution with zero external dependencies, making it a powerful and lightweight component for enhancing information retrieval within AI agents.

Key Features

01Pure Python 3.9+ standard library implementation with zero external dependencies
028 GitHub stars
03Utilizes the Okapi BM25 Standard Formula for keyword matching with non-linear saturation

Use Cases

01Implementing sparse lexical search for document ranking
02Building high-performance hybrid RAG systems
03Enhancing search capabilities within AI agents