Commit 55f1be0
committed
Add chapter5_specialized.py code example with specialized retrieval systems
- RAPTOR implementation for long documents with hierarchical clustering
- Multi-level RAPTOR for very long documents
- Metadata extraction pipelines (financial, contract)
- Synthetic text generation for multimodal content
- Image and table description generation
- Page-aware and section-aware chunking
- Contextual chunk rewriting for better retrieval
- Specialized index building and search
- Two-level measurement framework1 parent ab1af92 commit 55f1be0
2 files changed
+1172
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
| |||
0 commit comments