Apache Tika has worked well for me in the past, ended up running it on an AWS Lambda
Thanks, will try that.
Pdf parsing was more tedious that I would have liked at this stage so I stuck to the SEC which requires that companies file in a text format :) so that helped.
I used poppler on a digital ocean droplet, but the sheer variety of company pdfs especially european companies, some of which have to be OCRed, meant results were not really uniform. GPT still does very well, but not as well as on text documents directly. So in short, this is next on the list...
Are you pulling out the inline XBRL or taking a different approach? I'm curious to hear others' practical experience with it good or bad.
I am not using inline XBRL, instead relying on gpt's ability to read tables.
Re:Reading SEC filings using LLMs
by unparagoned on Thursday August 03, 2023 @01:54PM
(#36989311)
How exactly do you do that. Are you passing the raw HTML, or just the extracted text?
I have a tool that applies LLMs to abstracts and research papers — @opendocsg/pdf2md on Node / Sveltekit has been really good for me
How do you parse the PDFs?