News for hackers. Stuff that matters.
Re:Ingesting PDFs and why Gemini 2.0 changes everything by siva7 on Wednesday February 05, 2025 @10:40PM (#42958781)
You‘re describing yesterdays world. With the advancement of AI, there is no need for any of these many steps and stages of OCR anymore. There is no need for XML in your pipeline because Markdown is now equally suited for machine consumption by AI models.
Re:Ingesting PDFs and why Gemini 2.0 changes everything by llm_trw on Thursday February 06, 2025 @01:01AM (#42959526)
The results we got 18 months ago are still better than the current gemini benchmarks at a fraction the cost.

As for markdown, great. Now how do you encode the meta data about the confidence of the model that the text says what it thinks it says? Becuase xml has this lovely thing called attributes that let's you keep a provenance record without a second database that's also readable by the llm.

Re:Ingesting PDFs and why Gemini 2.0 changes everything by JohnKemeny on Thursday February 06, 2025 @02:39AM (#42960042)
Just commenting here so that I can find back to this comment later. You perfectly captured the AI hype in one small paragraph.
Re:Ingesting PDFs and why Gemini 2.0 changes everything by fransje26 on Thursday February 06, 2025 @05:04AM (#42960857)
Hey, why settle for yesteryear's world, with better accuracy, lower costs and local deployment, if you can use today's new shinny tool, reinvent the wheel, put everything in the cloud, and get hallucination for free..
Re:Ingesting PDFs and why Gemini 2.0 changes everything by BenGosub on Friday February 07, 2025 @04:40AM (#42970939)
What are the tools from the yesterday's world you are referring to? I've had issues with the base Python library in PDF parsing, only some state of the art tools were able to parse the information correctly.
Re:Ingesting PDFs and why Gemini 2.0 changes everything by raincole on Thursday February 06, 2025 @06:12AM (#42961253)
Just commenting here to say the GP is spot on.

If you already have a high optimized pipeline built yesterday, then sure keep using it.

But if you start dealing with PDF today, just use Gemini. Use the most human readable formats you can find because we know AI will be optimized on understanding that. Don't even think about "stitching XML files" blahblah.

Re:Ingesting PDFs and why Gemini 2.0 changes everything by aiono on Thursday February 06, 2025 @08:20AM (#42962037)
Except it's more expensive, hallucinates and you are vendor locked.
Re:Ingesting PDFs and why Gemini 2.0 changes everything by bitdribble on Sunday February 16, 2025 @11:42AM (#43069374)
Why do you say you are vendor locked? There are 4-5 top of the line LLMs that support structured output and compete with Gemini. Once an LLM vendor has the pipeline built for structured output, they'll pass each new model through the pipeline.
Re:Ingesting PDFs and why Gemini 2.0 changes everything by tzs on Thursday February 06, 2025 @09:04AM (#42962399)
For future reference if you click on the timestamp of a comment that will bring you to a screen that has a “favorite” link. Click that to add the comment to your favorite comments list, which you can find on your profile page.