179 questions
No questions match those filters.
What is parent-child (hierarchical) chunking, and what...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThere’s a real tradeoff baked into any single-level chunking scheme: smaller chunks are more focused, which makes their embeddings more precise and improves retrieval accuracy, but a small chunk on its own often lacks the surrounding context needed to actually answer the question fully. Larger chunks carry that context, but their embeddings blend several ideas together, which hurts retrieval precision in the first place.
Parent-child chunking sidesteps the tradeoff instead of choosing a side. Small child chunks — paragraph-sized — are what actually get embedded and searched, because their focus makes them retrieve well. But when a child chunk matches a query, the system doesn’t hand that small chunk to the LLM — it hands over the larger parent chunk it belongs to (the full section, say), giving the model the complete surrounding context. A query about “what dataset was used” might match a single sentence buried in a methodology section, but the LLM receives the whole methodology section, not just that sentence — precise retrieval, rich context, without compromising on either.