AI Builder
Power Platform AI Builder: Category Classification AI Model
Category: AI,AI Builder,Power Apps,Power Automate,Power Platform Author: Manish Rawat Date: 2 months ago Comments: 0

Well, whether it’s a small or giant industry, text data is increasing exponentially for these organizations. This data carries valuable information that when extracted and acted on helps us provide better products and services to our customers. Category classification is one of the fundamental natural language processing (NLP) challenges. With category classification, you can identify […]

The post Power Platform AI Builder: Category Classification AI Model appeared first on Knowledge From Manish.

Source: Manish


Scan your Business Card & Create D365FO Contacts record
Category: AI,AI Builder,D365 Finance & Operations,Power Platform,PowerApps Author: d365bits Date: 2 months ago Comments: 0

How many times have you come across exchanging business cards during meetings. This is very common and still the practice that people use physical card to carry their business related contact details.

Previously If you receive this business card from a client then you would need to enter this manually to D365FO.

Now you can use Power Apps and AI Builder to capture the text of business card by scanning it. Then uses Power Automate to connect with D365FO and to update the contact record.

I have previously done posts on how you can use Power Automate flows with D365FO. If you would like to learn more you can find that in the link here.

If you take a look at AI Builder It enables your subject matter expert to start creating AI application with the organization data and you wouldn’t require to have a data scientist to do that. I have created three screen Canvas App and the screen shots are shown below.

This is the Landing page and this will help user to navigate to the customer accounts screen
In this screen user will search and select the customer account which they would like to update the contact details
This is the third screen where user can scan the business card and then edit the captured data if necessary and then proceed to save the record.

Once user saves the record the Power Automate will run and update the contact details. The flow related expression is shown in below image.

Scan business card edit and save to created contact record

Let’s have a look at the Power Automate which was used for this scenario. In the below flow details such as First Name, Last Name , Email, Company and Party ID is captured from the Power Apps.

Once the Power Automate

Power Automate which was used in this scenario is shown above

Use Initialize Variable for the values which are passing through Power Apps. Then use create record ad select ContactPersons entity.

Uses Contact Persons entity as shown here

Fill in all the related fields under the create record and then you can test this to check if your app is working and update the scanned contact details back to the D365FO.

Source: Kausun


Power Platform AI Builder: Entity Extraction AI Model
Category: AI,AI Builder,Power Apps,Power Automate,Power Platform Author: Manish Rawat Date: 3 months ago Comments: 0

AI Builder entity extraction models recognize specific data in the text that you target based on your business needs. The model identifies key elements in the text and then classifies them into predefined categories. This can help you transform unstructured data into structured data that’s machine-readable. You can then apply processing to retrieve information, extract […]

The post Power Platform AI Builder: Entity Extraction AI Model appeared first on Knowledge From Manish.

Source: Manish


AI Builder – Form Processing
Category: AI Builder,Power Platform Author: Manonmani V S Date: 1 year ago Comments: 0

 

AI Builder brings in the below capabilities which would have taken more time and effort without the good news that the AI Modeling is now available in a no-code/low-code PowerPlatform that is gaining more traction:

  1. Binary Classification
  2. Form Processing
  3. Object Detection
  4. Text Classification

Want to know more about AI Builder? You may read here…

In this blog, I will show you the Form Processing feature. Let me explain quickly on how to read invoice data on a Canvas App using trained models in AI Builder.

First, let us create a model using AI builder and train it with sample invoices. Next, we will be using this model in a Canvas App to process the images.

Create a Model in AI Builder

  1. Select Form Processing – Log-in at https://make.powerapps.com and navigate to AI Builder > Build and select “Form Processing”. In the next screen, name your model and click “Create”.

2. Add documents – you will be given an option to upload documents. Select min 5 invoice images to train the model. The more images the better the results.

3. Analyse documents – Below screen shows the list of document for the model to Analyse. In this step the model will identify the data fields available on the document.

4. Select form fields – This step allows you to make a decision on what fields will be captured from the invoice to be processed in your system later. Click on the Image to select the fields.

On the right hand side, you will be able to see “All fields” as analysed by the model in the previous step. You may wish to select the fields that is required for your App and click “Next”.

5. Train your model

6. Quick Test your model – Navigate to Models>select your model and do a “Quick Test” by selecting a new invoice.

Yay! the model is trained to read the key-value pairs. The model has identified the below fields as highlighted in green. Mouse over to see the attribute key and value.

7. Publish – Now Publish it to make it available for Canvas App.

Create a Canvas App for Form Processing

  1. Create App – click on “Create app” and choose “Canvas App”. Give your App a name and save it.

2. Navigate to Insert>AI Builder>FormProcessor

3. Select the model that you have trained earlier.

4. You will see the Form Processor AI Component. Run the preview F5

5. Click “Analyse” to add a new invoice that you wish to process. The app will identify the fields that we have trained the model for.

6. How to Extract invoice data to the Canvas App form? It is pretty simple as using the below formula.

FormProcessor.FormContent.Fields.<Yourfieldname>

You may now save this data to trigger flows.

Further reading…†

https://docs.microsoft.com/en-us/ai-builder/form-processor-component-in-powerapps

 

 

Source: Mano


AI Builder – Object Detection: walkthrough
Category: AI Builder,Power Apps,Power Platform,PowerApps Author: Jeevarajan Kumar Date: 1 year ago Comments: 0

If you had been watching the live streaming of Microsoft Business Application Summit, 2019 kick off and keynote sessions by James Phillips, Wim Coorevits and others. I’m pretty sure you are stunned as I am. Out of all those astonishing releases, the AI builder is something that fell in love immediately and I wanted to try it out right away, couldn’t believe how the AI modelling is wrapped up and made simple for the Citizen Developers to use it.

Before AI modelling, the same set of features would have taken a considerable amount of time to build the same with PowerApps + Flow + Azure Cognitive Services.

I just tried and I explain here about creating an Object Detection AI Model of the AI Builder to identify my perfume, couldn’t think too much at 3 A.M :). Before jumping into the steps, let’s see a quick overview of what is AI builder and some real-time use cases.

For a quick demo, check out my LinkedIn post: https://www.linkedin.com/feed/update/urn:li:activity:6543947333082673152

AI Builder is a low code artificial intelligence platform that supports the Power Platform. It will be available for consumption on data that already exists in the Common Data Service (CDS), the enterprise-grade datastore included in the Power Platform

Key capabilities of AI builder as of now:

  1. Binary Classification – uses historical data to predict whether new data falls into one of two categories. AI Builder binary classification is an AI model that predicts yes/no business outcomes by learning to associate historical data patterns with historical outcomes. 
  2. Text Classification – one of the fundamental Natural Language Processing (NLP) problems. It allows tagging of text entries with tags or labels which can be used for sentiment analysis, spam detection and routing customer requests, just to name a few examples.
  3. Object Detection – lets you count, locate, and identify selected objects within any image.
  4. Business Card Reader – is a component available in the PowerApps studio that lets you scan business cards. You can use this control to extract contact information from pictures of business cards or your mobile phones camera.
  5. Form Processing – identifies the structure of your documents based on examples you provide to extract text from any matching form. Examples might include tax forms or invoices

Make sure your admin has enabled AI Builder for your environment. Otherwise, you won’t have access to the AI builder functionality. More information: Enable or disable AI Builder feature. 

1. Navigate to Build-> Objection Detection

1 - a

2. Choose the object name [Buid  a Model]

I Builder requires the use of Common Data Service, which is the data platform for PowerApps and allows you to store and manage business data. Common Data Service is the platform on which Dynamics 365 apps are built so if you’re a Dynamics 365 customer, your data is already in Common Data Service.

1-b

 

Choose the record you would like to play with. I wanted to build a model that can identify Versace Eros and Burberry London, so I select them both.1-1

3. Collect images [Train a Model]

Upload at least 15 images to proceed further. Microsoft recommends at least 50 images per product for the training set as a starting point. With fewer images, there’s a strong risk that your model will learn concepts that are in fact noise or irrelevant details. Training your model with more images will generally increase the accuracy of prediction results.

https://docs.microsoft.com/en-us/ai-builder/collect-images

1

It prevents uploading of duplicate image (hope its not by the name).

3

Rejects if the image doesn’t solve the minimum requirement

2

4. Tagging images 

Navigate from image to image, and tag at least 15 images per object name to build a model.

4

Tagging requirements pane shows the objects being tagged and their tag counts.

5

5. Train the Model

6

Status can be tracked  under the Models pane

7

6. Test & Publish: 

Use the ‘Quick Test’ to test the model’s accuracy and then Publish to consume it in the app.

9

Publishing the model:

8

The app will throw below error if the referenced model is unpublished.

13

Status is changed to ‘Live’ once published

8-1

Either you can create an app using ‘Create app’ or can be inserted from the AI Builder (preview control).

12

7. Using the model in the App

AI Builder controls as shown below

14

I have added a gallery and used the ObjectDetector.VisionObjects result to bind the Name and Count.

15

Hope this would be a starting point to explore the AI Builder. 

Source: Jeeva