RAG for Everyone

← Back to quiz

Chapter 10 Exercises55 min hands-on

Exercises: Plan Advanced Chunking

Use starter.py to decide whether semantic or hierarchical chunking is justified.

1 Detect topic-boundary need

Recommend semantic chunking when topic shifts break simple chunks.

2 Detect parent-context need

Recommend hierarchy when child evidence requires section context.

3 Keep simple when possible

Return recursive baseline when golden questions already pass.

4 Explain the first risk

Report context flooding, missing parent ids, weak citations, or over-engineering.

← Back to QuizPractice Bank →