All Questions
Rag And Retrieval medium

Runbooks are split into fixed 300-token chunks with no overlap. When a procedure step starts near the end of one chunk and finishes in the next, answers come back incomplete. What is the lowest-cost fix?

  1. A Switch to 3,000-token chunks so that no runbook step can ever be split across two separate chunks.
  2. B Add 10-20% overlap between adjacent chunks, or split on step and heading boundaries instead of token counts.
  3. C Raise top-k from 5 to 40 so that both halves of every split step are likely to be retrieved together.
  4. D Add a reranker so the chunk with the first half of the step is ranked above unrelated chunks in the list.

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

Get the app

Related questions