LongRAG uses much larger retrieval units (whole documents or groups of related sections, thousands of tokens) so the retriever has fewer, longer items to rank and a long-context reader receives complete context instead of fragments.
It reduces the chance that a relevant fragment is missed or stripped of context, and makes the retriever's job easier, but it needs a long-context LLM, raises cost per query, and can reintroduce the lost-in-the-middle problem.
Choose it when documents are coherent units and a long-context model is affordable.
Loading…