Re:Show HN: Documind – Open-source AI tool to turn documents...
by disgruntledphd2 on Monday November 18, 2024 @02:44PM
(#42176122)
> AWS Textract to first get the structure of the document (PDF). These tools are incredibly robust and do a great job with most of the common cases you can throw at it.
Do they work for Bills of Lading yet? When I tested a sample of these bills a few years back (2022 I think), the results were not good at all. But I honestly wouldn't be surprised if they'd massively improved lately.
Re:Show HN: Documind – Open-source AI tool to turn documents...
by infecto on Monday November 18, 2024 @06:22PM
(#42178301)
Have not used in on your docs but I can say that it definitely works well with forms and forms with tables like a Bill of Lading. It costs extra but you need to turn on table extract (at least in AWS). You then can get a markdown representation of that page include table, you can of course pull out the table itself but unless its standardized you will need the middleman LLM figuring out the exact data/structure you are looking for.
Re:Show HN: Documind – Open-source AI tool to turn documents...
by disgruntledphd2 on Wednesday November 20, 2024 @07:15AM
(#42193210)
Huh, interesting. I'll have to try again next time I need to parse stuff like this.
Re:Show HN: Documind – Open-source AI tool to turn documents...
by IndieCoder on Monday November 18, 2024 @02:34PM
(#42176035)
Plus one, using the exact setup to make it scale. If Azure Doc Intelligence gets too expensive, VLMs also work great
Re:Show HN: Documind – Open-source AI tool to turn documents...
by vinothgopi on Monday November 18, 2024 @04:08PM
(#42177063)
What is a VLM?
Re:Show HN: Documind – Open-source AI tool to turn documents...
by saharhash on Monday November 18, 2024 @05:37PM
(#42177860)
Vision Language Model like Qwen VL https://github.com/QwenLM/Qwen2-VL or CoPali https://huggingface.co/blog/manu/colpali
Re:Show HN: Documind – Open-source AI tool to turn documents...
by sidmo on Wednesday November 20, 2024 @11:59AM
(#42195886)
VLMs are cool - they generate embeddings of the images themselves (as a collection of patches) and you can see query matching displayed as a heatmap over the document. Picks up text that OCR misses. Here's an open-source API demo I built if you want to try it out: https://github.com/DataFog/vlm-api
In my experience your much better of starting with a Azure Doc Intelligence or AWS Textract to first get the structure of the document (PDF). These tools are incredibly robust and do a great job with most of the common cases you can throw at it. From there you can use an LLM to interrogate and structure the data to your hearts delight.