Creating Intents
Last updated
Last updated
Creating an is easy. You will need the name for the intent, and a collection of phrases that represent different ways the user might say or express the same thing. Once you have those, head on over to the Intents
page, and click on the Add Intent+
button at the top of the page. You should be presented with a screen that looks like this.
When you have entered a title, we can add Utterances to the intent. Simply type the phrase you want to add and click Add +
This will look at the phrase and try to identify any utterances contained within the message.
Any utterances that are identified will be underlined, you can click on one of these and get some suggestions to tag in your intent like you can see below.
If you are happy with the utterance, click Save
to finish the process. You will now see a complete list of all the intents you have. If at any time you wish to add phrases or utterances to your intent you can click the three dots on the right hand side of the Intent and select Edit Intent
Whether you are editing an existing intent or adding a new one, you may want to add a larger number of utterances to an intent in one go. To do this, click on the Raw
tab. This will show a window similar to the one shown below.
In the Raw
tab you now have a text editor in which you can add as many different lines as you want, where each new line is a new utterance that needs to be associated with the intent. Once you've added the utterances you want to, flipping back over to the Training
tab will then process the utterances and look for entities. If you are happy, click Save
to complete the process. The list of utterances for that intent will have been updated, as shown below.
We'll cover looking at Entities within the Utterance in the Section.