Cognigy.AI shows warning notifications when the system detects issues in Intent-rules, Intent-Conditions as well as generic issues while executing NLU on user-inputs.
Warnings will only be generated and forwarded to our user interface when the Interaction Panel is used during testing.
How it Works¶
Open the Cognigy.AI dashboard and create a new Flow, for example, named as NLU Warnings.
Open the new Flow and select tab NLU
Create a new Intent, for example,
int1and enter more than three example sentences. For example,
...Test5`. For a proper intent scoring, it is important to define Rules and Conditions.
Go to the Rules edit field and enter. For example,
- Go to the Conditions edit field and enter. For example,
- Click Build Model to finish the intent creation. Now user inputs can be scored of matching to the defined intent example sentences.
- Open the Interaction Panel on the right-hand side.
For the scoring test, activate Expert Mode in the SETTINGS tab. Activated Expert Mode will show more detailed data on the Interaction Panel.
Now every user input (text message) on the Interaction Panel will be evaluated with the defined Rules and Conditions of the created intent. As a result, a notification will be displayed (see image above) which indicates the intent name and the percentage rating number (1 means 100%).
In case that Rules or Conditions are not defined correctly, for example, missing relevant code details, the NLU Warning will be displayed on the Interaction Panel which is displayed for 30 seconds.
Cognigy NLU Warning displayed on Interaction Panel caused by incorrect Rule definition. NLU Warning indication is helpful to find incorrect defined Rules and Conditions.