NLP
> Intents
Add Intent
book train ticket
Intents
and select your book train ticket
intent+ Add expression
to create a new expressionI want to book a ticket from Brussels to Paris
Brussels
in this sentenceorigin
origin
in the Create new entity
field and click on 'Create new entity' to confirmParis
as a 'destination' entityEntities
> Contextual Entities
Book train ticket
intent. Some ideas for expressions:Update NLP
button in the right upper corner.Book train ticket
intent, and entity values, like so:NLP
>Test
to open the testing console Test
+Add expression
. Book train ticket
does not have a bot dialog linked to it. So even though it is correctly recognised, we are not telling the bot what to do when that intent is recognised. book train ticket
. Open the 'NLP' tab, and choose the Book train ticket
intent in the 'Intent' dropdown. Book train ticket
{destination}
, I can help you with that!"Create
to save this bot message.{variable_name}
{variable_name}
with the value of the variable. If the variable is empty, an empty space will be shown.Book train ticket
to this bot message, great job! This means that, when a user says something that triggers the Book train ticket
intent, this bot message will show. Test your bot
tool on the bottom right){destination}
it did not pass the threshold of 80%. Try adding that value to your entity and re-train your model, or choose another destinationExpressions
menuBook train ticket
intentBook train ticket
in total.book train ticket
dialog to correctly display the entities:origin
, destination
, time_departure
and class
were found correctly, but only time_departure
and class
have a confidence score higher than 80%. Origin
and destination
score much lower, so they weren't processed as variables.Book train ticket
intent, confirming the user input in the message