Return to the Skills interface (click on Skills in the breadcrumb trail at the top of the screen).
Edit the FAQ skill.
Select the FAQ type
Add 4 resources :
- One that you will call FAQ Menu: it redirects to the 3 resources below
- One for wifi
- One for PC control
- One for contact
Prioritize your resources
Here are the 4 resources created.
In order to allow the chatbot to automatically generate the logic between the resources, they must be prioritized: a bit like in a table of contents.
To do this, shift the 3 resources Wifi, PC and Contact to the right.
Write your content
Start by editing the resource FAQ Menu
Add a message of the type :
Here are the topics I can help you with. What would you like to see?
You will see three buttons already present. They are already linked to the created resources. You don't have to do anything but rename them if you wish.
Then edit the Wifi, PC and contact resources by writing the chatbot's message.
Here is my Wifi resource for example:
You can format your text as in a Word !
Do the same for the 2 other resources.
Manage the parameters of the FAQ
To simplify the life of your users, you can add buttons :
- back to the previous resource, and
- back to the main menu.
To do this go to the skill settings and activate the FAQ options
You can edit the text of the Menu and Back buttons as you wish.
Then choose the Menu feature in the Logic option linked to the Menu button
Make these resources accessible in natural language
For the moment, your FAQ is only accessible by clicking on buttons.
We will see how to do this for the Wifi resource. You will have to repeat the operation for the other resources :
- Edit the Wifi resource
- Click on the Understanding tab
- In the Redirection space, click on Add a couple
- In the intention box type wifi then the Enter key on your keyboard.
Then you'll see this:
Now you need to give your catbot a few sample sentences to help him understand this subject.
Click on the pen in front of Wifi.
Then add 5 to 10 sample sentences on this subject.
Repeat the operation for PC and contact resources by putting the following intentions:
- For PC: put pc
- For Contact: please contact
Here are screenshots to give you an idea of the phrases you can type.
Once you have completed the operation for all three resources, click on Train NLU at the top right of your screen.
Wait a few seconds before you get the notification that validates the model's training.
Then click Test NLU and type a query to see if the NLU understands the subject.
Type some sample questions (not necessarily the same ones you gave to the algorithm) and see if it understood :
By default, if the score below your query is higher than 0.5 then the chatbot has understood the question.
If the score is lower than 0.5 then the chatbot didn't understand the question and you have to add new queries.
Test your skill FAQ
Now you're done.
Now we just have to see how well it works.
To do so, go back to the list of skills and click on the small play button in front of the FAQ skill. A demo of the chatbot is displayed on your right.
Click on the buttons to see if the logic works well.
And type a natural language query to see if it works well too.
If you have followed the steps correctly, everything should work like a charm 😇