BM25
A classic lexical retrieval method that ranks documents by term frequency and discriminative value.
TL;DR
Classic lexical ranking; sometimes hybridized with vectors.
Quick facts
- Category
- AI & knowledge management
- Product tie-in
- KobiGPT RAG platform
- Related
- See compare and tools pages
- Locale
- TR and EN site
Why teams choose KobiGPT
- Understand terms before evaluating vendors.
- Link concepts to KobiGPT features (RAG, Kobi Kredi).
- Share glossary links with procurement and legal.
- Explore assistant use cases next.
Product facts
- Ücretsiz plan
- 100 doküman · 2 departman · 120 Kobi/ay(PLAN_CONFIG)
- Starter
- 1000 doküman · 5 departman · 1000 Kobi/ay(PLAN_CONFIG)
- Pro
- 12500 doküman · 25 departman · 12500 Kobi/ay(PLAN_CONFIG)
- Sparse retrieval
- Qdrant hybrid collection uses a sparse lexical query alongside dense retrieval(apps/api/src/rag/qdrant.service.ts → searchHybrid)
What BM25 measures
BM25 estimates how often query terms occur and how distinctive they are across the archive. A term frequent in one passage but rare across the collection can give that passage a stronger ranking signal.
Document length is part of the calculation. An accidental occurrence in a very long file is not treated like dense use in a short, focused passage; that is more balanced than raw word counting.
Where it is strong
BM25 is useful for exact legal clauses, product codes, customer numbers, filenames, and technical terms. When the user knows the wording in the document, a direct lexical signal can be more informative than semantic proximity.
Synonyms and different languages are its natural limit. Leave and izin, or collection and tahsilat, can refer to the same idea without sharing a token.
Its role in hybrid retrieval
KobiGPT’s retrieval layer can evaluate a sparse lexical signal alongside a dense embedding signal. That preserves names and codes while improving coverage for natural-language questions expressed in different ways.
A hybrid ranking is still not evidence by itself. Even a passage from the right file may miss the condition in the question; checking the source and its freshness remains part of safe answering.
Applying What BM25 measures in a controlled workflow
A useful way to evaluate bm25 is to follow one real question from the source document to the final answer. Record which file was selected, what context reached the model, and what a reviewer would need to verify. This turns a definition into an operational check and makes the result comparable across teams.
The same check should include ownership and change management. Decide who updates the relevant documents, how an outdated result is reported, and which access boundary applies. KobiGPT can provide the assistant and the cited document context, but the organisation still owns the source material, permissions, and the decision made from the answer.
FAQ
What is BM25 in practice?
Classic lexical ranking; sometimes hybridized with vectors.
Does KobiGPT use this?
See product docs and feature pages for implementation details.
More reading?
Visit our blog and FAQ.
Accuracy disclaimer?
Educational content; verify for compliance decisions.
Is BM25 an AI model?
No. It is a lexical ranking method; unlike an embedding model, it does not generate text.
Why is BM25 useful for proper names?
Exact-term matching and discriminative word weights directly surface signals such as codes and names.
Comparison
| Feature | KobiGPT | Alternative |
|---|---|---|
| SME focus | Yes | N/A |
| Citations | When using RAG | N/A |
| Glossary depth | Growing | N/A |
| Tools | Interactive | N/A |