Skip to content
Clairos Learn

Retrieval and embeddings · Lesson 3 of 16 · 8 min

Review chunk boundaries

Chunk boundaries should preserve enough local context to interpret a passage. Separating a condition from its exception can change the meaning of the retrieved evidence.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated AI Ops lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Chunk boundaries should preserve enough local context to interpret a passage. Separating a condition from its exception can change the meaning of the retrieved evidence.

Interpret the evidence

Preserve the exception with the eligibility context when reviewing chunking.

A tempting mistake

Treat chunks as unrelated sentences even when an exception changes the rule.

All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.

Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-retrieval-embeddings-003.json
{
  "fixture": "Fictional training data; not a live measurement.",
  "chunk_1": "Eligible after 30 days",
  "chunk_2": "except temporary accounts",
  "exception_separated": true
}

Exit status: 0. The command completed successfully in the training fixture.

$ jq .exception_separated /opt/ai-lab/cases/aiops-retrieval-embeddings-003.json
true

Exit status: 0. The command completed successfully in the training fixture.

$ printf '%s\n' 'preserve-exception-context' > /home/learner/lab/aiops-retrieval-embeddings-003-decision.txt
(no output; exit 0)

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Name the assumption that would have to change for “preserve-exception-context” to stop being the justified action. Do not silently replace missing evidence with a guess.

Explain it

What does the evidence in “Review chunk boundaries” justify?

Apply it elsewhere

A colleague concludes: “Treat chunks as unrelated sentences even when an exception changes the rule.” What should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Read embedding metadataTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Inspect source documentsRetrieved evidence is only as useful as its source coverage and validity. Inspect the original document identity and revision before reasoning from a fragment.Practice
  2. 02Read embedding metadataEmbeddings have a model identity and dimension contract. Query and document vectors must use a compatible embedding setup; equal storage format alone is not enough.Practice
  3. 03Inspect index statusAn index status must be read with document counts and readiness. A process being up does not guarantee that the index contains the expected records.Practice