Both separate the unit that is searched from the unit that is given to the LLM.
Parent-child (small-to-big): index small child chunks for precise matching, then return the larger parent section, so the model gets surrounding context.
Sentence-window: index individual sentences and, when one matches, return it with a window of neighboring sentences.
Benefits: precise retrieval with enough context for generation; costs: more complex indexing, and larger prompts if many parents are returned (deduplicate parents).
Loading…