Contextual Retrieval in 80 Lines: Anthropic's Chunk-Prefix Trick, Measured on Your Docs
DEV Community
Contextual Retrieval in 80 Lines: Anthropic's Chunk-Prefix Trick, Measured on Your Docs
Prepend one LLM-written line of context to each chunk, cache the document once, and measure recall@5 on 30 questions from your own docs.
0 comments
No comments yet.