In UI Builder each dialog can include a set of triggers. Each trigger contains one or many actions which act as the instructions the chatbot will follow when processing inputs or sending responses.

<aside> 💡 It is recommended you read the fundamentals on triggers and intents before completing this How To.

</aside>

In this How To you'll learn how to create a dialog that can detect an intent being expressed by a human by using the Intent Recognizer trigger.

You'll also learn how to create the phrases that are associated with the trigger.

But first, the intent detection capability needs to be turned on. By default, this feature is turned off in order to optimize performance of informational use cases. To do this,

  1. In UI Builder, click on Settings in the Navigation pane.

image.png

  1. In the Settings page, set the Intent Confidence Score Threshold to a value greater than 0. A threshold of 0.85 (85%) generally works well in production, ensuring that intents are triggered only when the confidence score exceeds this value. If the confidence score for a recognized intent falls below the threshold, the zammoNotUnderstoodTriggered system trigger will be activated.

image.png

  1. Choose Save.

<aside>

In machine learning, a Confidence Score is a number between zero and one that represents the likelihood that the output of a machine learning model is correct and will satisfy a user’s request.

Translating that to Conversational AI, a Confidence Score represents the likelihood that your bot is returning the correct response to an utterance. Zammo translates the confidence score into a percentage between zero and one hundred percent.

For more detail on the meaning of confidence score, please see the article, Confidence Scores.

</aside>