Resources
- Introduction to Information Retrieval. Selected chapters:
- What is information retrieval IBM
- Doing RAG Vector search is not enough - use BM25 for keywords and hard lookups, combine with vector search (semantics) and re-rank (vector search will always find results; re-ranking allows you to impose a cut-off based on a relevance score which allows you to avoid e.g. too long context or lost in the middle effects)
- Resources on Okapi BM25: