All Questions
Rag And Retrieval easy

Your chunker splits policy documents every 400 tokens with no overlap. Users report that answers miss conditions such as 'except for contractors' that appear just after a split point. What is the cheapest fix?

  1. A Add 10-20% overlap between adjacent chunks so sentences near boundaries appear in both of them.
  2. B Increase chunk size to 2,000 tokens so that splits happen far less often across each document.
  3. C Raise top-k from 5 to 50 so the neighboring chunk is also more likely to be retrieved.
  4. D Switch to a higher-dimension embedding model so each vector captures more of the surrounding text.

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

Get the app

Related questions