Is it possible to compare data between two PDFs?

June 23, 2025 6 answers
Asked by CuriousCat42
I'm looking to find out if I can compare two unstructured documents, like a Purchase Order and an Invoice. I know that it's possible to extract text from both, but I'm curious if there's a way to actually compare the data in these documents to identify any discrepancies. Has anyone done this before?

Answers

CodeNinja76
There's a cool solution accelerator on GitHub that utilizes Document Intelligence with Azure OpenAI. It can be super helpful for your use case. Just search for "azurechat" on GitHub to find it easily!
Reply to this answer
DocGuru33
Have you considered Egnyte? They have a document comparison feature that allows you to compare files or different versions. It highlights the discrepancies, which could be really useful for your situation! Let me know if you're interested in details about that.
Reply to this answer
TechWhiz89
Yeah, this is totally doable! You can use Document Intelligence combined with Azure OpenAI service. First, extract the document data with Document Intelligence, then use GPT-4 to compare the information. If you're not into coding, there's also Logic Apps to help automate this process without writing a single line of code! Check out the tutorial for a step-by-step guide.
Reply to this answer
InfoSeeker88
Yes, you can absolutely do this with SearchAI Assist. They have some functionalities that might work perfectly for your comparison needs. Definitely worth checking out!
Reply to this answer
DataDude21
There's some new orchestration with Foundry that might be worth checking out. You can set up two separate agents to extract the data, then use a third agent to do the comparison. It sounds efficient!
Reply to this answer
SkepticSam12
Honestly, the short answer is no, unless you're planning to create a custom program that understands the content. Even then, it won't be completely reliable. Just keep that in mind while considering your approach.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions