Skip to content

Commit 55f1be0

Browse files
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 framework
1 parent ab1af92 commit 55f1be0

File tree

2 files changed

+1172
-5
lines changed

2 files changed

+1172
-5
lines changed

docs/book/plan.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,11 +1826,11 @@ Every chapter must include:
18261826
- [x] Visualization helpers
18271827
- [x] Documentation strings
18281828

1829-
- [ ] Create `latest/examples/chapter5_specialized.py`
1830-
- [ ] RAPTOR implementation
1831-
- [ ] Multimodal retrieval example
1832-
- [ ] Metadata extraction pipeline
1833-
- [ ] Documentation strings
1829+
- [x] Create `latest/examples/chapter5_specialized.py`
1830+
- [x] RAPTOR implementation
1831+
- [x] Multimodal retrieval example
1832+
- [x] Metadata extraction pipeline
1833+
- [x] Documentation strings
18341834

18351835
- [ ] Create `latest/examples/chapter6_routing.py`
18361836
- [ ] Router implementation

0 commit comments

Comments
 (0)