Recently, I taught a live session to students at Information Technology University (ITU) in Lahore. The question I opened with was simple:
How do you get a reliable answer out of a 200 page PDF without reading the whole thing every time?
Ctrl+F finds words. It does not find meaning. And if you paste the whole document into a chat model, you pay for every page on every question, and the model may still make things up.
The fix is Retrieval Augmented Generation (RAG). In this post I will walk through the app I built for that session, called Poocho AI ("poocho" means "ask" in Urdu).…