---
id: "workshop:industry-series-using-ai-for-intelligent-document-processing"
type: "InnovateUS workshop"
title: "Industry Series: Using AI for Intelligent Document Processing"
url: "https://innovate-us.org/industry-series-using-ai-for-intelligent-document-processing"
date: "2024-02-21"
duration: "60 minutes"
language: "English"
instructors: ["Sergio Ortega"]
recording: "https://www.youtube.com/watch?v=_N_f33KVcVg"
transcript: "automatic, from the recording"
source: "InnovateUS (innovate-us.org)"
licence: "CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org"
---

# Industry Series: Using AI for Intelligent Document Processing

InnovateUS workshop · 21 February 2024 · 60 minutes

In this 60-minute session, Sergio Ortega, Worldwide Public Sector Lead in Artificial Intelligence and Machine Learning at Amazon Web Services, will provide information about how participants can leverage artificial intelligence and machine learning to address managing complex documents such as insurance claims, healthcare claims, benefits claims and contracts. Documents come in various file types, varied formats, and contain valuable information. In most cases, people manually process the documents, which is time-consuming, prone to error, and costly. Intelligent Document Processing is an AI-enabled solution that allows you to automate the classification, data extraction, and identity recognition of data and can do complex queries on one or millions of documents at a time.

This workshop is part of InnovateUS’s new “Artificial Intelligence Industry Series”, where speakers from leading technology companies will teach participants how to use specific artificial intelligence tools. We do not promote or endorse any particular products, but we want to offer our audience a chance to learn more about using specific upcoming tools for their everyday work.

## Learning goals

- Learn to leverage artificial intelligence and machine learning to address managing complex documents such as insurance claims, healthcare claims, benefits claims and contracts

## Speakers

- **Sergio Ortega**, Business Development Lead AI/ML for State and Local Government, Amazon Web Services

Recording: https://www.youtube.com/watch?v=_N_f33KVcVg

## Transcript

Automatic transcript of the recording: names and terms can be misheard, and the times can be a few seconds off. Each time links to that moment of the video. The transcript alone: https://innovate-us.org/industry-series-using-ai-for-intelligent-document-processing.txt (plain text) and https://innovate-us.org/industry-series-using-ai-for-intelligent-document-processing.json (every segment with its start and end second).

**Unknown speaker**

[0:02](https://youtu.be/_N_f33KVcVg?t=2) And spotlight you. Perfect.

**Sergio Ortega**

[0:06](https://youtu.be/_N_f33KVcVg?t=6) Thank you for the nice introduction. Welcome, everyone. I'm Sergio Ortega, based in Seattle, working for Amazon Web Services and doing AI advanced analytics and data my whole career, as well as actually during 25 years exclusively doing it for public sector at all levels, from federal, state, and local, gov tech companies, international governments, nonprofits. So I'm pretty passionate about how to improve in general the experience of citizens, experience of public workers, how we can deliver better services in the public sector. And for this specific topic, that it's intelligent document processing, I will be referring it as IDP from now on. It's a very interesting use case because several reasons. First, just let me tell you, this is our number one use case in AI, not only for government, I will argue as well for the private sector.

[1:12](https://youtu.be/_N_f33KVcVg?t=72) And the interesting thing about it is that it crosses every organization, almost every team in any organization. But before we start, let's think about anyone, anything in your organizations that requires the management of documents. A lot of them, few of them, hundreds, thousands, millions of them. And the issue with those documents are different challenges that have arised during a period of time, right? Back in the 90s, early 90s, I will say maybe late 80s, we begin with efforts of digitization. It's all that paper, trying to digitize it and put it in a storage that is digital. And more or less, we did most of our documents now digital. There is still paper around, but most of them are digital. But the problem with that digitization is that it didn't really do anything for us. It just saved space, that it's a good saving for sure.

[2:14](https://youtu.be/_N_f33KVcVg?t=134) But we are basically having digital tombstones or tombs where we are getting all these storage of paper that we're not using or documents that we're not using. And depending on the area, that kind of information is really useful, but it's really difficult to process, right? If you have here and you scan documents, for example, potentially you have here quite a bit of the concept of OCR or optical character recognition. It's another technology that was created early 80s, actually. And OCR promise was like, we're going to extract that information from your documents so you can process it somehow. And in reality, it's like there has been up and downs with that technology. They haven't really achieved the original promise of helping to process all that information, right? So with that, we got into what artificial intelligence can do actually for us. And the interesting thing about all this is if you have tried OCR before, you already have realized that it's a very time consuming process.

[3:28](https://youtu.be/_N_f33KVcVg?t=208) That is very prone to, yes, it's very prone to, hopefully you're seeing the change of the slides. Everyone says in comments that maybe some of you are not. So if you're so. I see them changing. Awesome. Perfect. So just continuing then, OCR was error prone and expensive, right? Very proprietary technology. Some of them are better. Some of them are worse. But, well, in general, results are not the ones that we were expecting. The other thing is think about the manual process that you have inside your organizations. I'll give you a couple of examples, right? They're still heavy on documents, either digital or physical. They're for health claims, insurance claims, social benefit claims. The justice and judiciary process is heavy in documents. The tax and collection process is very heavy as well in documents. And I'm going to very core processes for some organizations, right?

[4:30](https://youtu.be/_N_f33KVcVg?t=270) I just want you to imagine one thing that actually, funny enough, I find out at all levels of government. That is management of invoices. Sounds really unsexy. But reality is that creates a lot of headaches. Just to understand, I have the customers asking me, I just want to recognize the number of the invoice and the amount. And in order to do that, they need to actually read them one by one. But when we talk about millions of them, that's a problem. And the other is the difficulty of finding the useful information that a lot of these documents may have. Think about in social services, child protection services, all these wonderful narratives that social workers put effort to write. But after they're written, what is the use? How we can use that intelligence back in order to benefit the kids or the property or anyone that they're trying to help. It applies, again, in almost any case.

[5:34](https://youtu.be/_N_f33KVcVg?t=334) I'm pretty sure that you can think of at least five within your own team or your own organization. So what we're trying to help you here is how we can make faster document processing, shorten decision cycles, and obviously improve your citizen customer user experience in general. And when we talk about intelligent document processing, we're talking about a pipeline or a cycle of different kind of tasks. The first one, imagine that you are in tax and collection. Forget about if it's federal or local, and that's precisely the problem. How many types of forms and documents you have? Potentially hundreds of them, right? I have found out actually customers that just have different thousands of types of documents and still don't get into the content of the document itself.

[6:37](https://youtu.be/_N_f33KVcVg?t=397) And the first task or the first problem is how I can just put them in the same pile? How I can classify them automatically? And that's something that OCR cannot understand, cannot do. So what we're doing with artificial intelligence is actually an agent or a service that will go, will grab the document, read the document, understand the document, and understand what it is. And with that, we are able, first of all, to classify the documents. And I'm going to make a demonstration to showcase all of what I'm talking about right now. The other potential things that you want to do is extract the information, right? But extracting is not doing OCR. Since AI already went and read the information, it's not only extracting everything, regardless of what is the format, if it's a table, if it's a form, if it's backwards, if it's in a different position, if it's handwritten, it doesn't matter.

[7:39](https://youtu.be/_N_f33KVcVg?t=459) But extracting all that data and actually transform it in a format that we can do something with that data, that we can input that data automatically, that we can send it through a workflow, that we can do transformations, that we can enrich the document even that we are seeing. And I'm going to show you some demonstrations and some use cases. And obviously, all these, not only to serve our citizens better and faster, but even as public workers, think about the use case, and I like always licensing any kind of permitting in general, where you still either digitally or physically need to take multiple documents, being validated one by one by a person. Then that person picks the data that needs from each documents and input that in one, but most likely multiple legacy systems in order to run the process that you want, right? With these kind of systems, we want to streamline all that. We want to minimize, and please remember this, minimize human intervention, but human intervention still a must in artificial intelligence.

[8:45](https://youtu.be/_N_f33KVcVg?t=525) Everything that has artificial intelligence must have human validation. The only thing that we're doing is doing things more efficient, faster, and obviously reduce the total cost of what you're trying to achieve in the operation. The use cases, just if I begin to go through different areas, right? On business operations is how do we help with case management, with the documents involved in the case management, that actually we don't need to transcribe or input most of the information, that we can generate reports, et cetera. In the medical areas, how we can streamline health benefits. Just one interesting use case. I'm a lefty, so everyone says that I have a doctor handwriting style, meaning almost impossible to read. When you see some of the prescriptions, even though most of them are computerized or digitized, you still have handwritten notes for insurance, for pharmacies, et cetera.

[9:57](https://youtu.be/_N_f33KVcVg?t=597) One problem that is very common is trying to identify the prescription, the quantity, and the dose, because people will write it in different ways. AI is actually helping us to streamline those notes for making claims just faster. One of the challenges that education institutions have is about transcript recognition Education. or transcript processing. When you have transfers, potentially you can have unlimited different type of formats of transcripts from different schools. How we can streamline the processing, right? And so on. Reality is, again, the use cases are so big that you can almost set the solution almost anywhere. I like to quote always a great customer of mine, a CIO from one of the largest counties in the U.S., and she will tell me, help me to solve all my unsexy problems.

[11:04](https://youtu.be/_N_f33KVcVg?t=664) When we think about AI, we think about really flashy things, which is nice. I'm excited about all those. But where we can create actually good impact is on this area, that is, core processes, processes that touches more of the citizens that a lot of the employees have to actually interact with. That's where we can create efficiencies. And just to give you some examples, the interesting thing is how different organizations are using these things. Like, for example, labor and economics in Colorado. When you have unemployment applications, and unemployment applications actually happen quite a bit during the pandemic, in COVID, right? You have basically claim of benefits, like skyrocket unemployment benefits and employment applications, and the agencies were just not prepared to receive that volume.

[12:14](https://youtu.be/_N_f33KVcVg?t=734) Like, no one was prepared to receive that volume, to be fair with everyone. And in reality, with these kind of solutions, the scale is immediate, the benefit is immediate, and the benefit of actually citizens being able to process their claims on time, in a time of crisis, it was life-saving for a lot of them. Yes.

**Audience**

[12:37](https://youtu.be/_N_f33KVcVg?t=757) I'm wondering if you can, I'm seeing on your screen, there's two sort of black pieces of the screen on either side of the slide, which makes the text quite small and hard to read. Is there any way that you could just show the slide portion? It's showing two different things, so that's interesting. I hope, I'm wondering if anyone else has also seen that. It's basically that your slides are in the middle, but on either side, there's, yeah, it's not full screen. On either side, there's two black portions.

**Sergio Ortega**

[13:14](https://youtu.be/_N_f33KVcVg?t=794) Yeah, I hear you. Let me do then the next thing. I'm going to share, that was the issue of having multiple monitors. I'm going to change this, and then you're going to see, now you're seeing a different screen.

**Audience**

[13:32](https://youtu.be/_N_f33KVcVg?t=812) I'm still seeing the same.

**Sergio Ortega**

[13:33](https://youtu.be/_N_f33KVcVg?t=813) Yeah, now you should be able to see it better.

**Audience**

[13:38](https://youtu.be/_N_f33KVcVg?t=818) Actually, now it's even smaller.

**Sergio Ortega**

[13:42](https://youtu.be/_N_f33KVcVg?t=822) Oh. That's interesting.

**Audience**

[13:48](https://youtu.be/_N_f33KVcVg?t=828) I think you should hit the zoom at the top.

**Sergio Ortega**

[13:58](https://youtu.be/_N_f33KVcVg?t=838) Let me do something. I'm going to get out from the multi. I'm going to do it the old way.

**Audience**

[14:15](https://youtu.be/_N_f33KVcVg?t=855) That's better. Yeah, and if you.

**Sergio Ortega**

[14:19](https://youtu.be/_N_f33KVcVg?t=859) Okay, slide show. Let me do this. Sorry about the.

**Audience**

[14:27](https://youtu.be/_N_f33KVcVg?t=867) No problem.

**Sergio Ortega**

[14:29](https://youtu.be/_N_f33KVcVg?t=869) Let's do this. What about now. Yes, that's much better. Okay, now I can see it fully. Perfect. Great, thank you. Sorry about that. Hopefully you didn't miss a lot. But, well, this is one of the use cases. And at the end, I'm going to share these slides with you so you can post them or share them around. So, if people lose something, they can go back to the document and see what we're showing some of the benefits, of course. Right. Another one that we like to highlight is King County. A lot of reference cases, but among the reference cases is as well on how between agencies is difficult or easy to share information. And you will tell me, in general, it's quite a protocol, and there's a reason on why it's not easy, right? Just to give you the most powerful one, in between organizations, you are really at this high risk of sharing information that is really delicate, such as PII, right?

[15:33](https://youtu.be/_N_f33KVcVg?t=933) And just screening for PII in documents and trying to share that into other agencies takes time. There's the cost. So what we help them is how we can automate that, how we can just not only digitize most of the information of the county, but create a platform where you can share that information that is already embedded automatically, that is checked for information like PII, and that you can share around. Obviously, it's not only about state and local governments. In federal, before I go to Arizona State, we have a couple of federal agencies that either is for claim benefits or for other kind of activities. I cannot disclose most of them, but just to give you the idea on scale. So people, when you think about this, you can think about hundreds or thousands of documents, right, that you're processing at a year. With some of these agencies, we're processing millions, up to 14 million documents a month.

[16:43](https://youtu.be/_N_f33KVcVg?t=1003) And that's the kind of volume and efficiencies that we want to promote, that we want to help our customers with. One of the things is, when you are having different use cases like this one, is how we can extract information for making pre-screening more efficient, gather the right information. Like when you have an application, a lot of this is just a document that was written in a natural way, right? It's not fixed fields. And we want to understand some information, some key data that we want to extract from those writings. So that's a great way to do that as well, and make more efficient processes like that. This one is potentially one of my favorites. It's one of the newest ones. For this one, we have not only white papers, but we have videos of the customer actually attesting of what have been the benefits. This is the LA County Public Defender.

[17:46](https://youtu.be/_N_f33KVcVg?t=1066) And just to give you an idea of this is how we give public defenders better tools to actually do their jobs better, hence to promote better justice, right? How technology can close the gap on justice delivery. And it's just systemic. I'm not saying any other, any kind of other factor. I mean, multiple factors, but let's call the systemic piece first. Back in the day, as well, doing multiple federal justice customers, I was a federal judge that I had the opportunity to talk, and he will tell me, he will ask me, a little bit rhetorically, who is, how do you receive best justice, regardless of which country you are? And taking away things like corruption or flaws in the system, but in general, what is a good way to say that you're going to receive better justice? And the answer that he gave me was quite outstanding. It's like, well, depending on how much money you have to have a great lawyer.

[18:55](https://youtu.be/_N_f33KVcVg?t=1135) As a great lawyer, it's a lot of different things. But one of the things that we have observed is that a great lawyer has a lot of staff, a lot of assistance that can go to the files, hundreds of them, thousands of them, and create a case that is stronger. When you talk about a public defender, you're talking about one person that potentially is managing hundreds of cases at a time. And it's not because they don't want to do their job good. It's just because it's impossible, impossible for them to go and explore thousands of these documents that still a lot of them are physical. You need to go to a room, find them, and then begin to create your case. What we did is digitize all the files from the public defender office and even some third party and extract them, organize them, and provide tools to the defender so they can not only search from their own computer for the right information, but as well for tools to begin to create and form those cases.

[20:06](https://youtu.be/_N_f33KVcVg?t=1206) Those arguments. Give them tools that give them advice. Multiple of those things that we think can close the gap of delivery of justice. So this is a personal one that I'm really excited about. And so on. I can continue to talk about these great stories on how we're improving the speed of social benefits. Maybe you don't like this one so much, but how we're improving tax collection. I know it, but still it's beneficial in general for the public sector. And one of the things is what we're doing with IDP is how do we improve our services, our business services, how we reduce cost while doing it because we're more efficient. How do we improve the experience of the citizen? Just to give you another example, with one of the largest DMVs in the country, you have issues like very long waiting times in the call centers. You still need to go to the office, to the DMV with a lot of papers, potentially first have luck to get an appointment, then to actually process the thing.

[21:24](https://youtu.be/_N_f33KVcVg?t=1284) And now what we're doing is everything is remote. Waiting times in call centers went from 40 minutes to two minutes. And all of this is just how do we make efficient the documents, believe it or not. So with that, let me show you how this looks like. I'll show you a couple of demonstrations. So let's think that we are looking at the case of health care and insurance. That we're either submitting a claim for an insurance or having health care documents. And what happens is if I'm a user, I will go to the system and input what? Multiple different documents that are requested in order for submit a claim. Those documents can go from forms like this. As you can see, there's a very regular form where I select options for information. There are tabular forms, etc. It's a complex. It's a complex form.

[22:27](https://youtu.be/_N_f33KVcVg?t=1347) All the way to. Dr. Dr. Notes, as you can see as well, is like this typical writing. Then what you're going to do is you have all of these comments in multiple documents in the patient file and and so on. Right. Things like IDs, prescriptions. This one is cool because I'm going to show it to you. Hopefully, it's amazing. It doesn't like it. There you go. It's just a picture of a prescription. And as you can see, it has all these kind of weird lights. It's kind of So it's not easy for OCR. Right. So these are the kind of things that we are receiving on real life with intelligent document processing. So the first thing is, as you remember, as I told you, was let's classify these documents automatically. In this case, we have two, four, six, eight, 10, 11 types of documents.

[23:38](https://youtu.be/_N_f33KVcVg?t=1418) So that's easy. But again, what happens when you have hundreds or thousands. What we're doing effectively is recognizing what is each of these documents explanation of benefits insurance ID medical transcripts, etc. But as anything in AI, AI is not infallible. So as you can see here, there's times that either because of the format because of the quality, etc. AI will tell you, well, I'm not that sure that some things are what you say that what I'm saying, what I'm seeing is like I'm seeing insurance ID, but I'm just kind of sure that this is it. This is when you're going to find the process of human in the loop. This is where you send someone, open the document, check that is actually is the document is classified right or wrong, and do a test that this is the right one. The difference on efficiency is that instead of doing this, this process every time, you're going to get once each hundred or once each thousand or once each hundreds of thousands or even million. Right. That is the first scale of difference on efficiencies.

[24:55](https://youtu.be/_N_f33KVcVg?t=1495) The second step is how we're going to extract this information. And as you saw, there are different things. For example, in these forms, this is a form we want to extract what we call key value pairs, meaning what was asked and what was their response. And as you can see, we can not only check the answers that we were given, but even in fields that only is a checkmark, we can see if it was select or not select. This is very uncommon for someone that can recognize information. The other thing is, even in this type of document, you can see that they're the types of data that looks more like tables. Right. So, like, in this case, this is a table and we're extracting it at such because potentially you want to do that. If you think about invoices, mostly there are tables. And what we're doing is extracting that information. And now it's just a CSV file that you can manipulate. The other one is sometimes we want to recognize if a document is signed or not. And what we're doing effectively here is recognizing if a document we recognize signatures within the documents.

[26:06](https://youtu.be/_N_f33KVcVg?t=1566) And just the raw text itself is like everything that we understand and recognize from here. So, this is part of some of these recognitions. In this case, I think this one is health of benefits or explanation of benefits. Yeah. And again, you can see the quality of the document. It's a little bit crooked. It's not super clear. But what we're going to do is exactly the same. Even the tables. Right. Like, this is a table. We extract it as a table. We can recognize all the tables available that we recognize within the documents. The layout of the document. What is the header, the page, et cetera. All these potential views. Same here. Quality low, but we can extract all this information. So, one of the things that you can need to know is now we have the information out. We can do several things with this information that is out. We can create workflows. First, we can either transform it, we can manipulate it, we can make operations, whatever you need.

[27:20](https://youtu.be/_N_f33KVcVg?t=1640) And now we can automate where this information is going to go. Any kind of legacy system is going to the database, is going to a disk, is going to your CRM, is going to your ERP, is going to your case management system. But now all of this flow is automated. It's not doing it. You're not doing it by hand. Another possibility with AI is not only extracting the information, but understanding beforehand what kind of information that's it. Or labeling the information. That's a little bit of a technical term. Like, for example, here, you see all these labels. I recognize that John Doe is the patient name, the admission date, the discharge date, and the patient ID. This was automatic. Nobody had to label these or read the document in order to feel this information. One of the things that you're going to see is not only we can do this sort of recognition, right? For example, in healthcare, we even have models that recognize very specific taxonomies for the healthcare world.

[28:38](https://youtu.be/_N_f33KVcVg?t=1718) The other thing is, imagine that you, and it happens a lot, that you have a label that is unique to you, is unique to your agency, is the New Jersey Courts case number structure. And you want to identify that every time you find it. So, in order for you to train the model that recognizes, you just need to provide a few samples, upload them, and the next time we will be able to recognize these in the hundreds or thousands of documents automatically. There's no coding. There's anything of that. Same with the types of documents. If you want to recognize and classify specific types of documents, you just upload a sample of these documents and do it. One of the things that we are adding here, and I'm pretty sure you have here at Nauseam, a lot of it is about generative AI, right? So, what we're doing and what we thought is like, now that we are processing, we're sending workloads, we're sending this information to the different systems, what about if I just can talk, quote-unquote talk, with my documents or do more kind of tasks?

[29:54](https://youtu.be/_N_f33KVcVg?t=1794) Like in this case, what I'm doing is summarizing one or several documents. different use cases. I mentioned justice, I mentioned public safety, healthcare, where you just need a summary. You need a summary of 10 documents or 100 documents and understand what is this about. But another one that is interesting, and that's the reason I showed you the healthcare example, is that I can identify automatically things as diseases, symptoms, etc. I don't need anyone to actually do that for me. Based on medical standards, I'm identifying multiple different things just from the narratives or the reports of the practitioners.

**Audience**

[30:49](https://youtu.be/_N_f33KVcVg?t=1849) Can I pause you for a question?

**Sergio Ortega**

[30:50](https://youtu.be/_N_f33KVcVg?t=1850) Sure.

**Audience**

[30:51](https://youtu.be/_N_f33KVcVg?t=1851) Could you just give folks a sense of what is accessible for public sector professionals? What might be free versions? What they might need for the more advanced versions? Could you just give a sense of what's accessible?

**Sergio Ortega**

[31:09](https://youtu.be/_N_f33KVcVg?t=1869) Sure. What happens is in AWS, Amazon Web Services, have hundreds of different services on technology, right? Actually, even hundreds in AI. What we're seeing here, and I'm just going to talk a little bit more on the deck still, is two different services that are extracting and classifying and recognizing labels. One is called Textract, and the other is called Comprehend. The way that we put solutions together is think them as Lego blocks. So we put the Lego block that recognize documents and classify them as Comprehend. Then the flow, the next Lego block, is the one that extracts information that's called Textract. These services, you don't need to code. We manage those services. We train those services. We secure those services. So you just can input from documents or do API calls to make solutions. All of these services, you can have a trial of AWS when you sign up.

[32:13](https://youtu.be/_N_f33KVcVg?t=1933) But if you already or your organization have AWS accounts, actually, they're really less than cents on the dollar for doing all these kind of processing. They're really cost-effective

**Audience**

[32:25](https://youtu.be/_N_f33KVcVg?t=1945) in general. Okay. So just to clarify, if those in local government or state government want to try these services, they might either have a contract with AWS, or you said there's a

**Sergio Ortega**

[32:40](https://youtu.be/_N_f33KVcVg?t=1960) trial service that people can access? Yeah, they can open a trial account in AWS and test them.

**Audience**

[32:46](https://youtu.be/_N_f33KVcVg?t=1966) Okay. Thank you. Thanks for that.

**Sergio Ortega**

[32:52](https://youtu.be/_N_f33KVcVg?t=1972) So we see a lot of extraction, a lot of the recognition. What about now document enrichment? As part of the recognition, as I told you at the beginning, we are identifying things here like PII. And we did this automatically, right? And it's not only about only identifying, but what about if I can help you to redact the information out of the documents automatically? See? So when you're automating the processing of hundreds or thousands of documents, what you want to do is have these kind of processes inside so you can protect yourself and liability, comply with regulation, do a bunch of different things. There are even some areas where you can normalize some things like dates, how the date is written in the document, and you can re-enrich the document, or even how the name and the names are written.

[33:53](https://youtu.be/_N_f33KVcVg?t=2033) These are some simple, right? But there's a lot of headaches around just this simple transformation and standardizations of data. And we can help you to do that within the documents. Spell check and corrections. That's another one. Simple, but a lot of headaches. And we're doing it with handwritten notes. So this is one of the very nice things that we can provide when we put all the services together. Since we already have the classification, the extraction, the recognition, and on top, things like summarization, and actually, you know what? I skipped one of the really cool parts. That is, just give me a second here. This part. And I'm going to do another demo. But basically, now that we have processed that information, we can query our documents. We can make questions on our documents. Like, for example, not only one document, but can be on hundreds or thousands of documents. What is the patient chief complaint and how long he has been experiencing it?

[35:11](https://youtu.be/_N_f33KVcVg?t=2111) And we can get straightforward answers. What is the patient's injury characterized when the treatment measures? What are the treatments he has taken, basically? And you can have these summarized answers or very specific answers. And I'm going to show you another example of these specific examples. Let me show you this one. And I think we're good on time. So let me show you this guy. In this example, again, we have multiple documents, right? We have patient discharge summaries. We have provider notes, surgical pathological reports, et cetera. And we're doing the same thing. We're identifying things like PII, extracting some information, classifying even content within the document. But the Q&A can be just a simple chat experience where the questions are as simple as what is the insurance member ID? As you can see, you actually have an answer from the document, but the system as well will give you the source of the answer. What is bringing those answers from? That's very important when you're using AI, that you have that kind of source of the answer and that you understand or can explain where that answer is coming from.

[36:33](https://youtu.be/_N_f33KVcVg?t=2193) You don't want just random answers. You want to be sure that you're giving the right one. Like, for example, what is the patient medical history, including surgeries, allergies, and family history? And you have the answer based on multiple documents. It's not only one. And you can have that resource of understanding where you're bringing those answers from. In one case that we did for child protection services, imagine this problem. It's one of the largest of the country as well, but each social worker will manage around 300 cases. Each case produced from 20,000 to 40,000 pages during the lifetime of the case. Most of those pages that are generated live and die in the social worker laptop. They never see the system. And that's a problem of the system being overwhelmed, not of the social workers. Social workers are trying to do their best.

[37:35](https://youtu.be/_N_f33KVcVg?t=2255) So what we did is precisely how we can get all that thousands and thousands of pages, potentially cases that are interrelated on kids that they never touch, and give them tools like this so they can actually mine information and things that are useful for them. Believe it or not, the most difficult question to answer for a social worker that was taking a case was if the parents were alive. So what we're doing here is enabling these kind of tools for better service to the citizens and more productivity on this case of social workers. So just going back here, this is exactly the services that I mentioned before, just in case you want to know exactly what we are seeing here. And there's other ones that is the generative AI stack for AWS. But basically these services help us to extract the information either from forms, open form, tables, et cetera. Convert them in formats that are manageable and that you can route them in workflows to your systems. Find and redact AI. Comprehend makes the label in recognition. Either we have thousands and thousands and thousands of labels that are pre-training this model. But if you still need that one that is not there, training that one is super easy. And there are multiple, as I told you, since we are the number one use case, you're going to find out that either you want to put these labels together by yourself, or there is a lot of companies that can help you, or that they have end-to-end solutions already created based on these specific pattern of solution.

[39:31](https://youtu.be/_N_f33KVcVg?t=2371) Before finishing, I want to show one more demo. And this demo is very related to what we're seeing with generative AI. So just give me a second here. And I'm going to open something called Amazon Q. But Amazon is based on Amazon Bedrock. A little bit of this generative AI enabled chats. But in this case, what I can do is these chats are not only in this case of Amazon Q. Imagine everything what I showed you about documents, but you can add other sources, such as databases, CRMs, your helpdesk system, any of your portals, either internal or external.

[40:32](https://youtu.be/_N_f33KVcVg?t=2432) So what I'm going to do here is, let me see if this one will be the best one. Just give me a second here. There you go. So this one, I uploaded, and I'm going to show you again. Actually, I should show you this. I just uploaded some documents, but I can upload a million documents, and I can add databases. These are FAA regulation, and this is the book Dracula. Why is this important? Because with only clicks, no code, zero whatsoever, what I'm doing is getting the documents, and I can make questions such as, what are the instruments required for IF instrument flight rule flights? And it is going to go to the repository of information that I gave it so it can answer the questions. It doesn't work like public models. It won't answer your random things.

[41:41](https://youtu.be/_N_f33KVcVg?t=2501) It won't answer who is Napoleon Bonaparte, or what was the best president of the U.S., or make me a poem. It will only answer according to the information it has. So in this case, it's telling you what are these instruments, where it's getting the information from, so you can actually see the source, and it's giving a summarized answer. I entered Dracula, right? So I'm going to ask, for example, who are the Harkins? And you can do really complex queries here that involve interrelated multiple documents, or even generate documents. You can give me a summary of 500 words of the last five files of John Doe. And see, you can tell here, Jonathan Harker, and who is he, and where he's getting the information from. But what about if I ask, who is Frankenstein?

[43:01](https://youtu.be/_N_f33KVcVg?t=2581) The interesting thing about this kind of technology is that you actually can get this answer, since it's not in the information that I define. You have the guardrail that I'm not going to get creative, because I don't want to get creative with taxes. I don't want to get creative with health care. I want to be very specific, and I want to be factual. So this is the way that we are beginning to do all this. And just to finish and to conclude, IDP has hundreds of implementations at all levels of government and private sector, has been delivering millions and millions of documents and processing now for years. We continue to put improvements on top, but we have seen the effects of these kind of tools of artificial intelligence in real cases and other levels. So I'm open for questions. Thank you very much for your time today.

**Unknown speaker**

[43:54](https://youtu.be/_N_f33KVcVg?t=2634) Thank you, Sergio. Let me just stop recording as we go to the Q&A.

* * *

Original page: https://innovate-us.org/industry-series-using-ai-for-intelligent-document-processing · Licence: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org
