What are Intents?
To explain it in a simple language, adding intents to the chatbot, is to train the bot to understand user intents (intentions). Users may enter any type of simple or complex queries to the bot. And therefore bot needs to be capable enough to respond to all variation of the queries. Intents help bot to understand and respond to complex queries.
How to add intents?
Initially create intent by +CREATE INTENT option from the right of the dashboard.
While creating intent, you need to fill the below information
Add the possible variants of the user queries to the bot separating it by pressing enter.
Set the bot response for the queries of “User Says”. i.e what should be the chatbot response for the queries you added in above user says section.
You can set bot response in the form of text, flow or conversation.
In the above example of hotel chatbot, an intent named Hotel Room booking is created in which user expressions (queries) are added and the response is set with the flow of “Travel Date”
Floatbot uses parent and child intent feature to help you train your chatbot and understand users request/query closely.
By clicking on the plus icon on the right side of the tab you’ll be able to create child intent. The process of creating the child intent is the same as shown above.
How does intent, parent intent, and child intent work?
Whenever a user enters any query related to the intents of your bot, at that time appropriate intent gets triggered from the AI. Parent intent and child intent are interconnected terms.
The bot reads and understands the query and checks from which list the intent belongs. When a query belongs to the list where you have not used the parent and child feature the action set there will be triggered. But when it comes to parent and child feature there are few conditions for the actions to trigger.
- If the user will first type the parent intent the set action of the parent intent will be given as reply. And after that, the user types the child intent the set action of the child intent will be triggered.
- If the user first types the child intent before the parent intent that response will be null.
As it is important for the parent intent to get called first and then only the child intent will work.
The video below shows you how this works?
Why is the parent and child feature important?
This feature helps to understand the user's query closely. As shown in the above video when the user says offer after calling the parent intent the bot analysis that the user wishes to see offers related to room booking. This feature tries to understand what users want by studying the intents typed by them.
Once the intent is created, go to Entity section from the dashboard and create entity from the right.
© Copyright 2018, Floatbot.ai.