AI and LLMs · Middle · Question 2 of 75

Why is chunk overlap often used when splitting documents for RAG?

Show the answer

Correct answer: So facts on chunk borders aren't cut in half

Explanation

A sentence split between two chunks may never be retrieved whole. A small overlap keeps context together at the cost of some duplication.

Further reading

Problem with a question

AI and LLMs · Middle · question 2

Test yourself

Take the AI and LLMs · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz