Today I’m going to show you exactly how to work with UiPath AI Fabric.
In this comprehensive guide of 3 Blog posts, I’ll cover:
So if you want to start building AI-Enabled RPA for the next project, you’ll love this updated blog series.
Let’s get started.
You will need –
Whats is covered –
Whats not covered –
Related Blog Post links –
What is AI Fabric? Where does it fit in…
Well… AI Fabric is the product in the UiPath Enterprise Platform that enables deploying, consuming, managing and improving Machine Learning models. It can manage models built in-house, by UiPath and our partners, and even open-source models.
You can think AI Fabric as another container(Not wise to say ML Lab) where you can create/manage and deploy your own machine learning model for consumption into intelligent automation workflow.
Once you deploy/enable ML model into AI Fabric it will become available for RPA developer to consume inside workflow using UiPath Studio.
Its become super easy inside the studio to use them as you can select the auto-populated drop-down list with all the successfully deployed ML Skills from the AI Fabric tenant.
After that, all you need to do is pass the data as input to given ML Skill and perform JSON operation on Output and perform Post action based on output received.
Let’s park the idea for now that how you will be able to build the automation using AI Fabric model inside Uipath Studio.
We will cover that in the next part of this tutorial.
Lets first see how we can deploy ML Skill in AI Fabric from scratch using step by step guide.[In Next Section]
AI Fabric makes it extremely simple to use Machine Learning in the RPA workflows built with UiPath Studio. This way, robots can process unstructured data, better handle uncertainty in decision making, and work with use cases which require human intelligence.
Lets discuss about, the process of creating ML projects in AI Fabric, uploading datasets and training ML packages, deploying them as ML skills in RPA workflows in Studio and configuring the feedback loop by sending data to AI Fabric.
There are three types of pipelines:
To experience the full features of AI Fabric and follow along the example in this blog-post, you need an Enterprise account in UiPath Automation Cloud.
The AI Fabric app is licensed as a separate service.
If you don’t have such an account, you can request your UiPath account manager for AI Fabric trail.
As per UiPath product road-map, AI Fabric will become available both on-premises and through the Automation Cloud for community by end of 2020.
As of now its only available to Enterprise account in UiPath Automation Cloud.
To gain access to AI Fabric, change your licensing plan to Enterprise Trial or Enterprise and then allocate AI Robot licenses to your AI Fabric service within a tenant in your Automation Cloud organization.
You will get an error pop-up window like above in case you don’t have required licenses.
The AI Fabric menu option is displayed in the Cloud Portal left navigation bar. You can access the app if your tenant has the necessary licenses and you have the corresponding permissions.
To create a new Project navigate to the Dashboard menu in the left navigation bar and click on AI Fabric . This page will display all your existing project if any. If you need to create new project you can click “Create Project” context menu from top right corner of screen. (Shown below)
In next window, All you need to do is provide below details.
Once done you will land up on dashboard which provides details of your project. as of now we have not added any datasets or ML packages so it would be shown as blank. However this will be useful when we have something up and running.
In the next step, we need to define the datasets for our project.
To create a new Datasets navigate to the Datasets menu in the left navigation bar and create an empty Datasets by clicking “Create New”.
This step is optional.
This depends on the type of ML Package you wish to use. If your model is trainable you can use this screen to upload train and test data.
Once uploaded dataset can be used in Pipeline to train your model.
for this example; I am going to use out-of-box sentiment analysis, non-trainable model(already trained model) to create the project.
we will talk about this in more details in the next part of the tutorial.
As discussed above ML Package is a folder with all the code and metadata needed to train and serve a Machine Learning model.
You will have two choices here –
Out-of-the-Box ML Packages are Ready-to-use packages in AI Fabric. They are provided by UiPath, by partners or by the community as Open-Source (OS) packages.
for this example, we will use Out-of-the-Box ML Packages.
When you click on Out-of-the-Box ML Packages, You will land up on category page of different types of models and you can select your choice as per requirement of your project.
Out-of-the-box models are appropriate in some contexts. Consider sentiment analysis, where understanding sentiment is similar across different industries and organizations;
But be careful, something working well for others may not work well with you…as it depends on datasets…
Then …You must be thinking why we need Out of Box ML Packages when we can use API provided by Google/Microsoft/IBM/AWS etc. ?
Well, frankly speaking, At the moment I don’t see any benefit unless Uipath has plans to include thousands of trained models which are available for free to use by different big players.
Here you can access the ML Package Details page by first navigating to the ML Packages page and then double-clicking on the name of an ML Package, as shown below:
The important point to note here is –
These details would be required inside your workflow to define input and output of ML Skills in UiPath Studio. Good point is you can test that in studio as well.
A Pipeline Run is an execution of a pipeline based on code provided by the user. Once completed a Pipeline Run will have associated outputs and logs.
There are three types of pipelines:
A Training Pipeline takes as input an ML Package and a dataset, together producing a new ML package version;
An Evaluation Pipeline takes as input a ML Package Version and a dataset, together producing a set of metrics and logs;
A Full Pipeline essentially runs a data processing function, and a Training Pipeline and an Evaluation Pipeline in succession.
Again an optional step as this would be required when you train your model in AI Fabric.
In case your model is already trained, You can skip this step.
For this example, we can skip this part.
You can use below the screen to Pipeline based on your requirement. You need to select the ML Package you are using, Whats is the version you are using and input dataset.
we will cover this part in the next part of the tutorial.
The Pipeline includes the definition of the inputs required to run the pipeline and outputs to get from this pipeline.
Ml Logs page contains the details of ML Package Validation Events and other related events to the project.
Logs related to the pipeline events are also displayed here.
You can sort logs on the basis of ML Skill Name, Severity and date-time.
Congratulation!
You have successfully created the first project on AI Fabric.
Now its time to consume the AI Fabric ML Skill Deployed by you inside the workflow to create your first ML Skill-based automation.
This is covered as the next part of Blog you can access below.
See you there.
Happy Automation.
References –
Sign in to your account