Article by Anthropic: https://www.anthropic.com/news/contextual-retrieval

An AI model needs context to be useful, this is where Contextual Retrieval techniques come in.

Anthropic recommends that sources smaller than 200,000 tokens (500 pages) should be added into the prompt as context, no contextual retrieval needed