⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

Stage 1 (Retrieval)

Fast, Approximate, High Recall

├─ Sparse (BM25): Keyword matching

├─ Dense (Vector): Semantic similarity

└─ Hybrid: Combination of both

~100 candidates

Stage 2 (Re-ranking)

Slow, Exact, High Precision

└─ Cross-Encoder: Fine-grained scoring

reordered top-10

Final Context for LLM