how do you deal with the fact that some basic pages can have tens of thousand of tokens?
The benefit of this approach is it's very simple and easy, but the downside is it sends a lot of unnecessary tokens to the LLM. That drives up the cost, slows things down, and hurts accuracy.
I'm working on a few improvements now to improve this.