All Questions
Rag And Retrieval hard

A runbook RAG system uses fixed 500-token chunks with no overlap. Users who ask for a multi-step recovery procedure get answers that stop at step 4 of 9, and retrieval logs show the top hit ends mid-procedure. What is the most targeted fix?

  1. A Increase top-k from 5 to 15, so the adjacent chunk with the remaining steps is likely to be retrieved and placed in the context as well.
  2. B Double the chunk size to 1,000 tokens everywhere, so that every procedure fits inside a single chunk regardless of where boundaries fall.
  3. C Add a reranker so the chunk containing steps 5 through 9 is promoted above the chunk with steps 1 through 4 for procedure-style queries.
  4. D Split on structure such as headings and list items, with 10 to 20% overlap so content spanning a boundary is not severed.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions