This is the multi-page printable view of this section.
Click here to print.
Return to the regular view of this page.
AI rules
Kianda AI rules is one category of rules in Kianda that is used to analyse text within fields of your process, for example analysing a feedback text box of a process.
AI (Artificial Intelligence) is a form of intelligence demonstrated by machines, opposed to natural intelligence displayed by humans or animals. The AI system used in the Kianda AI rules is Text Analysis.
Text Analysis is a process by which the AI is programmed to distil information and meaning from text. For example, this can be analysing text written in feedback forms, item reviews or analysing documentation to understand its purpose.
Take an example of Text analysis rule and its extract key phrases function. Implementing this rule will analyse the block of text and as a result, it will give back key and most relevant words or expressions into another field within your process. See the image below for an example of a feedback text and resulting key phrases:
Getting started with Kianda AI rules
If you go to Administration > Designer and click on a process or create a new process, then click on Add a rule, the Kianda AI rules are found in the left-hand pane when you click on Kianda AI.
Currently, there is one rule available in the Kianda AI rule category:
- Text analysis - gives sentiment analysis or extracts key phrases from a block of text.
1 - Text Analysis
Introduction
The Text analysis rule allows you to analyse small or large amounts of text. There are two functions for analysis with the Text analysis rule:
- Sentiment analysis
- Extract key phrases
With each function, the AI is programmed to distil information and meaning from a text block. For example, extract key phrases function is programmed to extract most relevant words or expressions from a block of text. Sentiment analysis on the other hand can be used to give a Positive or Negative result on feedback forms or item reviews and presented in a dashboard, see image below for an example dashboard sentiment analysis:
When to use
Use this rule when you want to analyse large blocks of text into a Positive or Negative result with a percentage score, or when you want to extract key phrases.
You can add this rule:
Before you get started
To be able to use the Text analysis rule, there a couple of prerequisites needed in your process. To use both functions, your process needs a Text box field which will represent the text that is targeted during Text analysis. To learn more on how to add a text box to your process, go to Text box control.
To use the Sentiment analysis function, you need the following:
- Text box field - container which will store the computed sentiment result. Positive or Negative.
- Number field - container used to store the percentage score of the result. To learn on how to add a number field to your process, go to Number control.
To use the Extract key phrases function, you will need the following:
- Text box field - container which will store all of the most relevant words or expressions.
How to get started
-
Click on an existing process by going to Administration > Designer and decide which form, or field you will apply the rule to, by clicking on that item so that it is in edit mode so you can see the Edit/pen button, Pen button .
-
Click on Add a rule > Kianda AI > Text analysis.
-
In the Edit rule - Text analysis dialog box, give the rule a title in the Title field.
-
If you want to add conditions for the rule, click on the Edit conditions button see Conditions for more details.
-
Under the Action section fill out the following:
- Input field containing text for analysis - select a field from within your process that you wish to target when analysing text.
- Text analysis function - from the radio list, select the desired text analysis function.
- Sentimental analysis - analysis text while giving it a positive or negative result along with the percentage score of the result.
- Extract key phrases - extract most relevant words or expressions from a block of text.
- Text input language - select the language in which the targeted text is in. The choices are as follows:
- English
- French
- German
- Portuguese
When the Sentiment analysis function is selected, fill out the following fields:
- Field to store computed sentiment (Negative or Positive) - select a field from your process to store the result of the analysis.
- Fields to store the sentiment score - select a field from your process to store the percentage score of the analysis.
When the Extract key phrases function is selected, fill out the following:
- Field to store computed key phrases - select a field from your process to store all of the most relevant words or expressions of the analysis.
-
When you are finished editing the dialog box, click on OK or click on Close at any time to exit the dialog box.
What’s next
To find out more about other rules go to Rules.