All Questions
Rag And Retrieval easy

Logs for a failing question show that the correct chunk was ranked in the top 3 retrieved results, yet the final answer was still wrong. Where should you focus first?

  1. A Switch embedding models, since a stronger embedder would have ranked the correct chunk first.
  2. B Increase top-k so that the model sees more supporting chunks alongside the correct one.
  3. C The prompt and generation step, since retrieval did its job and the model misused it.
  4. D Re-chunk the corpus with smaller chunks so the correct passage is more tightly scoped.

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

Get the app

Related questions