Skip to content

NLU Warnings

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

  1. Open the Cognigy.AI dashboard and create a new Flow, for example, named as NLU Warnings.

  2. Open the new Flow and select tab NLU

  3. Create a new Intent, for example, int1 and enter more than three example sentences. For example, Test1, Test2...Test5`. For a proper intent scoring, it is important to define Rules and Conditions.

  4. Go to the Rules edit field and enter. For example, input.text=="rule".

  5. Go to the Conditions edit field and enter. For example, input.includes==="condition".
  6. Click Build Model to finish the intent creation. Now user inputs can be scored of matching to the defined intent example sentences.
  7. Open the Interaction Panel on the right-hand side.
  8. 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.