LlamaIndex for PDF parsing
Hi All,I am developing an application which can parse the structured tables in PDF lets say in markdown and then we can do the RAG implementation. I am seeing Llamaindex as a powerful framework but I see I need to use the paid version. The limitation I see if it takes the document and takes into lamacloud…I am looking for an option which do not require to load the docs into cloud and can parse locally only…any suggestions on this?
2024-08-26T13:42:16Z
Hi,it depends on how complex the layout in the PDFs are. If the PDFs are native PDFs, then you could use a library like PyPDF. If that’s not the case (PDFs are scanned), then you could use an OCR solution. Open-source solutions include Tesseract.There are also newer openly available models which can turn PDFs into Markdown, such as:Nougat(note, Meta put a non-commercial license on this one)KOSMOS-2.5(will be soon part of the Transformers library)GitHub - VikParuchuri/surya: OCR, layout analysis, reading order, line detection in 90+ languageswhich is great as well
2024-08-27T09:39:49Z
Thanks@nielsr…what about LlamaIndex?