heading path

The chain of headings above a chunk, such as "Billing > Refunds > Annual plans", prepended to it so it makes sense on its own.

In more detail

It is a cheap, rule-based form of the context that contextual retrieval asks a model to write, and it helps both keyword and vector search match the chunk to questions about its section. It costs a few tokens per chunk and no model calls.

Related terms

Taught in

References

Certification courses