In this part of article, I’ll cover-
You will need –
Your good starting point could be already developed code. Which you can download form my Git Hub repo.
This repo contains working example of sentiment analysis Out of Box ML Packages to review the comments of android apps on Google play store.
Below are the minimum set of Activities you need to enable for working with ML Skills.
You might need other activities based on changes you wish to do into project such as writing result back to excel file.
For this example, we have used the data set of 10000+ Android Apps and their Review for explaining the various operation. You can download from below.[Source Kaggle]
The Project is created with simple workflow without using re-framework. It has 5 Workflows for different tasks.
We have also implemented, Human in loop validation in Main Block. We will discuss that in the next section.
This example also uses the concept of ‘Human in Loop’.
The Bot is designed in such a way that it compares the Confidence score of the ML Skills with pre-configured value.
If the confidence score is low, Bot creates a task in the action centre in Uipath Orch.
As this will be working as an Attendant Bot, WOrkflow will stop and wait for the action to be completed by ‘Human in Charge’ and save the corrected data as output.
This workflow can be further enhanced to pass corrected data to ML Skill for retraining.
Once Action has been validated, Bot will resume its processing for the next item in the pending list.
The Persistence Activities pack has been developed as part of the Human In The Loop initiative, offering you several activities that help you manipulate Jobs, Tasks, and Queues in Orchestrator.
for designing form task, All you need to do is Use ‘Create Form Task’ Activity. You need to map and Build Form Data which will be used as INPUT/OUT which you want to display in a form within the orchestrator task inbox.
Modifying OUT and IN/OUT arguments maps them back to the workflow after task completion.
After that; You need to add
UiPath.Persistence.Activities.FormTask.WaitForFormTaskAndResume Activity to suspend the execution of the current workflow until a specified Task is completed.
You can play around various properties to configure as per your need.
Related Blog Post links –