run-llama / llama-hub

A library of data loaders for LLMs made by the community -- to be used with LlamaIndex and/or LangChain
https://llamahub.ai/
MIT License
3.42k stars 727 forks source link

Add OrgReader #940

Open RomainGehrig opened 5 months ago

RomainGehrig commented 5 months ago

Description

This is a draft PR to add an Org mode reader that can create documents at different heading depths. (It's not uncommon for Org users to have more than 5 levels of headings). I still need to add unit tests and go through the checklist.

Type of Change

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

Suggested Checklist:

elsatch commented 5 months ago

I am totally mind blown! I started working yesterday on a OrgmodeReader, created the base structure, init... then came back to check the status of a PR... then discovered your PR. Tears of joy are about to happen!

Thanks so much for putting this up!