๐Ÿš€ Everything is free โ€” help us improve! Submit feedback and shape the platform.
โ† RAG/M-037Build Two-Stage Retrieval with Reranking๐Ÿ“– Guide๐Ÿ…Rank 04ยท The Weaver
โšก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