(new Feature in Cognigy.AI v4.3.0)
Cognigy.AI will now show 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.
Example: How does the Feature NLU Warnings work¶
- Open the Cognigy.AI dashboard and create a new Flow e.g. named as NLU Warnings
- Open the new Flow via mouseclick and select tab NLU
- Create a new intent e.g. "int1" and enter more than three example sentences (e.g. "Test1"... "Test5")
For a proper intent scoring it is important to define "Rules" and "Conditions"! - so we do it
- Go to the Rules edit field and enter for example input.text=="rule"
- Go to the Conditions edit field and enter for example input.includes==="condition"
- Click on "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 you need to activate in Tab "SETTINGS" the expert mode
Activated Expert mode will show more detailed data on the Interaction panel!
Now every input (Text Message) on the Interaction Panel will be evaluated with the defined Rules and Conditions of the created intent. As 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 (e.g. missing relevant code details), a NLU Warning will be displayed on the Interaction Panel which is displayed for 30 seconds (see following image)
Cognigy NLU Warning displayed on Intercation Panel caused by incorrect Rule definition
NLU Warning indication is helpful to find incorrect defined Rules and Conditions