Back to section lessons
Free overview · medium · Lesson 1 of 5

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.

Trial planOutside the passageArchives are kept for 14 days.Outside the passageAfter that, they are deleted.Selected

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.

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.

$134 $67.00 for one year −50%

One payment, no auto-renewal · Terms

Buy for $67.00