Home Power PlatformsAI Builder Create, train, test, publish and share custom AI Builder

Create, train, test, publish and share custom AI Builder

by Mo Faheem
Create Custom AI Builder

AI is here to stay and companies around the world are racing to take advantage of what AI shall give. But, there is no doubt that the custom AI Builder journey is not easy, firstly finding the right utilizing of AI to serve business objectives. After setting the business goals, comes the technical side to creating, training and testing an AI custom model.

What are AI Builder models?

AI Builder models are a set of tools created by Microsoft as part of the PowerPlatforms suite of products to help business analyze data and take business decessions. This set of tools are available to be used from Power Automate and Power Apps.

create custom AI Builder power automate
Custom AI Builder Models in Power Automate

Note: Creating the model in either Power Automate or Power Apps makes it available in both systems and can be consumed by the two systems under the same environment.

create custom AI Builder power automate
Create Custom AI Models in Power Apps

Why AI Builder models require to be trained and tested?

AI models, in general, require training on preexisting data to be able to provide accurate information; The more data provided, the better results we can expect. AI Builder models either prebuilt models trained and tested or custom models require trained and tested by the user before they get used.

AI model Types

Microsoft Power Platforms provide two types of AI models, custom models and prebuilt models. Some of these models are built and tested by Microsoft for common business use, such as sentiment analysis.

Custom AI model

We build, train and test the AI model. based on a specific and unique requirement for a specific business needs and using the business data.

Prebuilt AI model

Based on general and common business practices, Microsoft provides prebuilt, trained and tested models that can be used at once without further training.

In this post, we will discuss the custom AI Builder and the process of creating, training and testing these models.

Custom AI Builder Process

To understand how to create a Power Platform AI builder, we must understand that developing a model requires going through a process.

Custom AI Builder Process
Create Custom AI Builder Process

1. Build

First step is to Build an AI model by choosing one of the existing models.

2. Train

Next, train the model by providing the model exmples of previous work.

3. Test

Run test by examine the model by providing new data and check the output of the model.

4. Publish

Publish is again part of the test with real live data. Adjusting the model is possible based on this step outcome.

5. Use

Start using the model with business live data.

6. Share

Share the AI model with others to be able to use it with accurate outcomes.

Create Custom AI Builder

This explanation will cover the general creation of a custom AI Builder model and will journey in creating, training, testing, and publishing.

In a future post, we will discuss each of the custom AI Builders, but for now, will focus on the steps of creating these AI Builder models which vary based on the model type.

To start creating an AI Builder model, choose and click on one of the models from either Power Automate or Power Apps.

Create Custom AI Builder
One of the options – Form Processing

Custom AI Builder steps

1. Create custom AI Builder

From the form prossing dialouge box, Name the AI model, then press click create.

Create Custom AI Builder
Create custom AI Builder

2. Train custom AI Builder

This step contains substeps to identify the type of data you need to analyze based on the custom AI, and these steps are entirely different from one custom model to another. We will be covering each of the custom AI Builder models independently in future posts.

Train custom AI Builder
Example – Object detection

i. AI Builder Models steps

As mentioned above, the actions of this step are vary based on the type of the AI Builder models.

We will be discussing each of the custom AI Builder models independently in future posts, but in this section, we can see the actions needed for each of the models.

Category Classification
Category Classification
Entity extration
Entity Extraction
Form Processing
Form Processing
Object Detication
Object detiction
Prediction
Prediction

ii. Analyzing data

One of the steps discussed above, and after selecting or adding the data that require to be analyzed.

The AI Builder will run an analysis to recognize the data and prepare for the following steps.

Analyzing data
Analyzing data

iii. Train custom AI Builder

After completing all the actions of the step and providing the needed data for the AI Builder model, The last action of those steps is to run the model training.

Once started, the training will be runing in the background and after some time, we will be able to run tests or

Train custom AI Builder
Train AI Builder

3. Test custome AI Builder

From either the “Last trained version” or “Published version” tabs, we can test the trained model by clicking on the quick test.

It is important to run tests to make sure that the models will provide accurate data once used.

Test custom AI Builder
Test custom AI Builder

4. Publish custom AI Builder

Only from the “Last trained version” tab, we can publish the model by clicking the Publish button.

Once published, we will be able to use it in Power Automate or in Power Apps.

We can still revise and edit the model, retrain or unpublish the model.

Publish custom AI Builder
Publish custom AI Builder

5. Use custom AI Builder

Once published can be used in Power Automate or Power Apps. We will also be able to see where the custom AI Builder model is used.

Where the AI Builder is already used
Where the AI Builder is already used
Use custom AI Builder
Use custom AI Builder

As mentioned, the custom AI Builder is possibly used in either in a Power App or Power Automate.

Two option to add and use the model.

  1. + New App, will add the model in Power App canvas app.
  2. + New flow, add the flow in Powe Automate flow.
Use custom AI Builder
Use custom AI Builder in Apps or Flows

6. Share custom AI Builder

Last we can add users to use the model. The added users will be able to use this model by adding it into apps or flows.

The model can be edit, share or delete or this model only by the owner of the model. The user will only be able to use the model.

Share custom AI Builder
Share custom AI Builder

Related Articles

Leave a Comment