Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryjliu committed Nov 13, 2024
1 parent 15cc7c4 commit fd14b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/advanced_rag/dynamic_section_retrieval.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"\n",
"A common problem with naive RAG approaches is that each document is hierarchically organized by section, but standard chunking/retrieval searches for chunks that can be fragments of the entire section and miss out on relevant context.\n",
"\n",
"Dynamic section retrieval takes into account sections as metadata during retrieval. \n",
"Dynamic section retrieval takes into account entire contiguous sections as metadata during retrieval, avoiding the problem of retrieving section fragments. \n",
"1. First, tag chunks of a long document with the sections they correspond to, through structured extraction.\n",
"2. Do two-pass retrieval. After initial semantic search, dynamically pull in the entire section through metadata filtering.\n",
"\n",
Expand Down

0 comments on commit fd14b5a

Please sign in to comment.