โกOptimizationยทadvancedยทโฑ๏ธ 40โ55mยทโญ 200 XP
M-037Build Two-Stage Retrieval with Reranking
Description
LegalTech AI's RAG system retrieves 10 documents but only 3 are relevant (precision@10 = 0.30). The bi-encoder is fast but imprecise. Implement a two-stage pipeline: fast bi-encoder retrieval followed by cross-encoder reranking to improve precision.
Targets
Cost Target
โค 150
Quality Target
โฅ 0.79
Current Cost
80
Current Quality
0.3
Related Lessons
Click Run / Check to validate your solution