Frequent use cases
Last updated
Last updated
Tous droits réservés @ 2023 dydu.
This page introduces you to different basic and frequent use cases of the dydu platform. Feel free to reproduce them to familiarize yourself with the platform.
The matching groups represent groups of words and terms having a similar meaning or intent.
Note: creating matching groups is the first major step to complete before any knowledge creation.
To create a matching group, please follow the following steps (in this example, we will be creating the 'computer' matching group):
Go to the Content > Matching groups page.
Click Add to create a group. Before creating a group, you can create categories in which your groups will be filed.
Click Add matching group. A new window appears.
Enter the name of your matching group.
Click Add. Your matching group is created.
Then, select your newly created matching group to add formulations.
At the bottom of the page, add all rewords one by one from the Formulation.
Click Add. Your matching group now contains formulations and will can be used when creating a knowledge.
For more information, please visit matching groups.
A dialog with a bot can involve more or less complex conversational flows. To meet this need, you have the ability to create decision trees to manage multiple scenarios within one and the same knowledge. Please follow these steps:
Create a simple knowledge (see procedure on this page). Our knowledge for the example will be "I have a payment problem" with the answer "Do you have an account on our website?"
Note: matching groups can be suggested at any time. Select the suggested suggestions if you want to use them or just ignore them.
In this case, the user is asked to answer yes or no.
In order to manage the two possible scenarios, it becomes necessary to create a decision tree. To do this, click on the icon below your answer window.
Select Add an intention.
Enter "Yes" and click Create.
Write the answer, select Published, click on Update. Your first sub-branch is created.
Repeat the previous step to create a second sub-branch with the "No" knowledge. Your decision tree is created.
Note: It would have been possible here to insert two clickable redirections "Yes" and "No". However, using direct links to an internal redirect is especially useful when your bot offers multiple and specific choices.
A user can respond with an unexpected answer that the bot did not consider. In this case, it would be an answer that does not correspond to "Yes" or "No". To do this, you must use the icon that will allow you to answer to any user sentences that do not match the defined branches of the decision tree.
Test your knowledge and multiple scenarios through the test bot.
You can make redirections to other knowledge items. This allows you, among other things, to create connections within your knowledge base. To perform a redirection, please follow these steps:
Create or edit a knowledge and then move to the answer window.
Click the icon, then click Reword.
Find the knowledge to which you want to redirect from the Reword field.
Click Ok. Your redirection is shown.
To create a Livechat escalation, you can do this through simple knowledge or through event-triggered knowledge (condition for triggering a Livechat escalation). Please follow these steps:
Create a simple knowledge like "I want to talk to an operator".
In the answer window, click More options then click on the Other options.
Click the button at the right of the Define GUI field then click Livechat connection.
Go to the Livechat page if you want more information.
The context conditions let you add conditions that will trigger a knowledge, you can find more information on this page.
In this example, the context condition to be created will be about the user page. The goal will be to check if the user URL contains "knowledges". If it is the case, the user will get a specific answer. If not, they will get another one, asking to go to the page triggering the knowledge.
Note: if you want to test the context condition at the end of this example with a deployed bot, please customize the example by replacing the term of the URL with a term specific to a URL where your bot is located.
To create and use this context condition, please follow these steps:
Go to Content > Context conditions.
Click Add at the top right of the page.
Fill in the fields as follows:
Note: the UserURL() condition is a selectable context condition by default in the condition list.
Click the tick to validate the creation of your context condition.
Go to Content > Knowledge and create your knowledge like this:
Add new knowledge
Answer to a question
Create the sentence to understand
Close the answer window
Click on
Select Current action
Select your condition in the list
Click on Update
Then you will be able to fill Success and Failure answers.
So, depending on the success or failure of the context condition, the bot will send a different answer to the user.
You can create and customize an infinite number of context conditions and use them within your knowledge.