Recently the PowerPlatform had a new module added, the AI Builder.
AI Builder modules
With the AI builder you can do 4 things:
- Form Processing
- Object Detection
- Text Classification
In this post I will have a look at the Form Processing module.
Similar to my post about DocParser handling invoices. You can also use AI Builder to do this.
Once you have created on the Create button all you have to do is upload your invoices or any other document that you want to process.
Once you have uploaded document you will need to identify your data on the documents
Note that you will need at least 5 documents before you can go over to the next step. If you thought that you could just rename the same document 5 times then you are wrong. AI build looks at the content of the files not just the name of the files!
Once you have uploaded the 5 documents the Analyze button will be enabled. The analyzing of the document can take a while and sometimes you might get errors like the one shown below:
Even if you do get the above failure, just try again and you should end up with the following step where you can seelct the fields on the document
Selecting the fields
You can now select each of the fields and AI builder will suggest field names for you. You just have to click the ones that you are interested in.
Train the model
Now we are ready to train the model.
When you hit the train button quite quickly you will get the Training complete message
On the details page you can publish your model and now it can be used within Flow or PowerApps.
If you want to you can also do a quick test where you could upload some more documents to see if your data is found. This whole process is very easy to use and it works extremely well! I have build quite a few invoice handling systems in the past and my experiences of the AI build are definitely there with the best other products available
Use the Model
Once the model has been published you can use the model and even this bit has been made easy.
The above screen will get you to the normal App creation dialogues where you can add a name of an app.
Create the PowerApp
Now select the Form Processor in PowerApps.
Select the AI Demo model that I created earlier
Upload an invoice in my PowerApp to the Form Processor control
And Boom! I’ve got my invoice data and any other data available inside my app!