SpinTheMic
Pro

Interview practice question

Top results are near-duplicate chunks

Machine Learning · RAG · Intermediate

The top five retrieved chunks are often almost identical copies of the same paragraph from different document versions. How do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Deduplicate at ingestion (hashing, near-duplicate detection).
  • Keep only the current version of documents.
  • Diversify results at query time (MMR).
  • Reduce excessive chunk overlap.
  • Measure unique-source coverage in results.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics