Practical Notes on Evaluating, Improving, and Optimizing RAGPractical Notes on Evaluating, Improving, and Optimizing RAG
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
I've been learning how to make RAG systems work well in production, so I made these simple notes (with diagrams) to help me understand it πŸ“š In simple words: first measure how good your RAG system is, then improve it, then make it faster and cheaper. It works in 3 parts: 1️⃣ Measure: check retrieval and answers separately (RAG triad, Recall@k, faithfulness) 2️⃣ Improve: better chunks, hybrid search, reranking and grounded answers 3️⃣ Optimize: caching, fewer tokens and smarter model routing πŸ’‘ Golden tip (last image): how to cut token cost by ~98% when many people query one long company policy. πŸ› οΈ I've also built a hands-on project for freshers and beginners: run it, chat with the bot, compare answers with the policy files, and see the source behind every answer. πŸ”— GitHub: https://lnkd.in/dunB937S πŸ“„ These are 4 of the 9 slides. The full deck is on my LinkedIn. I'm still learning, so I'd love tips from anyone who has run RAG in production. What helped you most?
Post image
Post image
Post image
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started