I'm curious if I can compare two unstructured documents, like a purchase order and an invoice. I know text extraction is possible for both, but is there a way to actually compare the extracted data and identify any discrepancies between them?
6 Answers
Yes, you can definitely use SearchAI Assist for this purpose! Check out more information here: [SearchAI Assist](https://www.searchblox.com/products/searchai-assist). It could be just what you need.
The short answer is that it's kind of tricky. You would need to develop a program that understands the content of each document to compare them effectively. Even then, it won't be 100% accurate. Just keep that in mind!
You could also explore the new agent orchestration in Foundry, where two agents extract data—one for each document type—and a third agent does the comparing.
Definitely check out this GitHub repository for a solution accelerator using Document Intelligence and Azure OpenAI: [Azure Chat](https://github.com/microsoft/azurechat). It might have some tools you need for your use case!
Have you tried looking at the Egnyte platform? They have a file comparison feature that lets you compare documents, including highlighting differences. This might fit your needs perfectly! Here’s the link to their documentation, if you're interested: [Egnyte Document Comparison](https://egnyte-university.egnyte.com/using-document-comparison-159/2153922). Let me know if you need help with anything specific!
Absolutely, you can do this! Using a combination of Document Intelligence and the Azure OpenAI service would be effective. You can extract the data with Document Intelligence and then use the Azure platform to run the comparison. If coding isn't your thing, you can also use Logic Apps to orchestrate the process without writing code. Here are some resources to get you started: [Logic Apps for Document Intelligence](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/tutorial/logic-apps?view=doc-intel-4.0.0&pivots=workflow-onedrive). Feel free to ask if you have more questions, I'm here to help!
That sounds interesting! Can you share more details about how that works?