From a document to a chunk
Choose the passage from a short manual that tells you when an archive will be deleted.
Suppose you have a folder of manuals and want to ask questions about them. A RAG system retrieves a passage and gives it to a language model along with the question. How you split the document determines whether that passage contains enough information to answer.
A small example
A manual says “Archives are kept for 14 days” and then “After that, they are deleted.” Which passage answers “When will my archive be deleted?” The second sentence alone leaves “that” unexplained. Together, the two sentences support an answer and give the reader somewhere to check it.
When the heading changes the answer
Put the heading “Trial plan” above those two sentences. Can they tell you when an annual subscriber’s archive will be deleted? The 14-day rule applies to the trial plan. If the heading gets separated from the text, the passage still sounds authoritative and could easily be applied to the wrong account. Read the passage by itself and see whether you can tell who the rule applies to.
Document search
What can you tell from the passage?
The reader is on an annual plan. Look at the lines selected for the model.
Reader’s question
When will my archive be deleted?
Annual plan
The passage says “after that”, but leaves out the time.
Only selected lines enter the model’s context.
Done reading?
Mark the lesson as read to move your track progress forward.
Lesson marked as done.
Now build your own version
Turn instructions into chunks with traceable sources.
What practice includes and how much it costs
MCP includes the full lesson and a local project with starter files. Work through the task with your agent, ask for a hint and run the checks on your computer.
One payment, no auto-renewal · Terms
Progress saved in this browser
Clear your history or open this on your phone, and the marks will be gone. Leave your email and they'll move to your account. No password needed.
Done. moved to your account. You can see your progress on any device. My progress