llama-hub
llama-hub copied to clipboard
Implement raptor indexing engine (collapsed tree)
Description [WIP]
Implement RAPTOR: Recursive Abstractive Processing For Tree-Organized Retrieval paper: https://arxiv.org/pdf/2401.18059.pdf
Fixes # (issue)
Type of Change
Please delete options that are not relevant.
- [x] New Loader/Tool
- [ ] Bug fix / Smaller change
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [ ] Added new unit/integration tests
- [ ] Added new notebook (that tests end-to-end)
- [ ] I stared at the code and made sure it makes sense
Suggested Checklist:
- [ ] I have added a library.json file if a new loader/tool was added
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [x] I ran
make format; make lint
to appease the lint gods
@MarouaneMaatouk can you run make lint
to fix the linting errors?
hey @MarouaneMaatouk - quick bump on this. once it's ready we'll help you port it over to llama_index
(with the v0.10 upgrades packs are consolidated into the main repo)