llmsherpa
llama_parse
llmsherpa | llama_parse | |
---|---|---|
6 | 2 | |
970 | 1,013 | |
16.2% | 39.9% | |
6.6 | 9.1 | |
7 days ago | 18 days ago | |
Jupyter Notebook | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llmsherpa
-
LlamaCloud and LlamaParse
To get good RAG performance you will need a good chunking strategy. Simply getting all the text is not good enough and knowing the boundaries of table, list, paragraph, section etc. is helpful.
Great work by llamaindex team. Also feel free to try https://github.com/nlmatics/llmsherpa which takes into account some of the things I mentioned.
-
Show HN: Open-source Rule-based PDF parser for RAG
I wrote about split points and the need for including section hierarchy in this post: https://ambikasukla.substack.com/p/efficient-rag-with-docume...
All this is automated in the llmsherpa parser https://github.com/nlmatics/llmsherpa which you can use as an API over this library.
llama_parse
- FLaNK AI for 11 March 2024
-
LlamaCloud and LlamaParse
I'm part of the team that build LlamaParse. It's net improvement compare to other PDF->Structured Text extractors (I build several in the past, includig https://github.com/axa-group/Parsr).
For character extraction, LlamaParse use a mixture of OCR / character extraction from the PDF (it's the only parser I'm aware of that address some of the buggy PDF font issues, check the 'text' mode to see raw document before reconstruction), use a mixture of heuristic and Machine learning models to reconstruct the document.
Once plug with a Recursive retrieval strategy, allow you to get Sota result on question answering over complexe text (see notebook: https://github.com/run-llama/llama_parse/blob/main/examples/...).
AMA
What are some alternatives?
unstructured - Open source libraries and APIs to build custom preprocessing pipelines for labeling, training, or production machine learning pipelines.
txtai - 💡 All-in-one open-source embeddings database for semantic search, LLM orchestration and language model workflows
llama-hub - A library of data loaders for LLMs made by the community -- to be used with LlamaIndex and/or LangChain
Parsr - Transforms PDF, Documents and Images into Enriched Structured Data
marker - Convert PDF to markdown quickly with high accuracy
paperetl - 📄 ⚙️ ETL processes for medical and scientific papers
nlm-ingestor - This repo provides the server side code for llmsherpa API to connect. It includes parsers for various file formats.
open-webui - User-friendly WebUI for LLMs (Formerly Ollama WebUI)
grobid - A machine learning software for extracting information from scholarly documents