In the previous post, we talked about context windows. The model has a fixed-size desk and everything has to fit on it at once. When too much is on the desk, things in the middle get missed.

I ended that post with a promise: what if there was a way to give the model just the right piece, at the right time, from a document you've never even pasted in?

That's this post. We're giving the model a search system.

The problem: your document is too long

You have a 2000-page document. An employee handbook, a product manual, internal documentation. You need one specific answer from it.