Live data from Hacker News

Ask HN: What are you using to parse PDFs for RAG?

news.ycombinator.com

31–40 of 102 posts

Re: Ask HN: What are you using to parse PDFs for RAG?

#33

PyMuPDF seems to be intended for this use-case and mentions images: https://medium.com/@pymupdf/rag-llm-and-pdf-conversion-to-ma... (Though the article linked above has the feeling, to me, of being at least partly AI-written, which does cause me to pause) > Update: We have now published a new package, PyMuPDF4LLM, to easily convert the pages of a PDF to text in Markdown format. Install via pip with `pip install pymup…

So it works for complicated tables et al.?

You may have to write a custom tracer.

Re: Ask HN: What are you using to parse PDFs for RAG?

#36
post #2

have to pay $25K upfront That's a lot of your money. It's not a big dose of OPM (Other People's Money). When building a business, adequate capitalization solve a lot technical problems and it is no different when a business is built. If you aren't building a business, money is different and there's nothing wrong with not building a business. Good luck.

Strange comment and bad advice in general. This is a problem that doesn't need $25k to be solved. You're basically telling them to give up or raise money for no reason at all.

Re: Ask HN: What are you using to parse PDFs for RAG?

#40

Have you tried https://github.com/VikParuchuri/marker ?

For my use case, overall Marker seems to work pretty well - but it has issues with tables. Merged cells, misplaced headers, and so forth. I'm currently extracting Polish PDFs that are //not// scanned

When compared to Azure Document Intelligence, Marker is really cheap when self-hosted (assuming you fall under the license requirements), but it does not produce high quality data. YMMV.

Post reply on HN