Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Answers elements

Answers elements

You can use the different formatting offered by the text toolbar: bold, italic, add bullets, and so on. Below you will find more details on the available answer elements.

You can suggest opening a web page in the answer:

  1. Select the word or group of words and click the Insert/edit link icon:

  2. Fill in the following fields:

  • In the first Url field, enter your link.

  • The Text to display field allows you to enter the text that will be displayed.

  • The Title field allows you to add a title to your link. This title will be displayed only in the source code.

  • The Target field allows you to define how the link will open.

  1. Click Ok.

Make a clickable email address

If you want to make a clickable email, perform the same operation as to add a hyperlink:

  1. Select the part you want to make clickable and click Insert/edit link:

  1. Add to the URL: mailto:(email address) and click Ok.

You can propose a clickable link that will refer to another knowledge of your bot:

  1. Click the Insert redirection: of the toolbar and then click Reword.

  2. Enter the first terms of the knowledge on the Reword field and select it.

  1. Click Ok then click Update.

Use the matching groups

You can pick up a word from a matching group in the answer.

In the answer, once the cursor to where you want to add your formulation, select the insert variable button: then select the variable or group. In our case, we select "dialog_nb_rewords" from the Variable tab.

Click Ok and the formulation will be represented this way in the answer bubble on edit mode:

Use advanced options

By clicking More options at the bottom of the answer window, you will be able to configure more information.

It is therefore possible to perform redirects.

The URL redirection is used to automatically redirect the user to a page when the answer from the bot is returned.

It is also possible to redirect to another knowledge. This makes it possible to avoid duplicating its content.

For example, the question "How can I work on a testing environment ?" is using a redirection to knowledge "How can I create a bot ?":

The Redirect to another knowledge box is using predictive typing:

Just above this field, a checkbox allows you to separate the responses.

If this box is unchecked, both responses will be grouped into a single message, and the user can only provide feedback at the end. For example, if a user asks "How do I work on a test environment?", they will receive the first part of the answer followed immediately by the answer for "How do I create a bot?" in one continuous flow.

If the box is checked, the two knowledge base entries will be separated. This allows the user to provide feedback on the first entry and the second entry independently.

When the user asks the question "How to work on a test environment? It will have the first response element added in the knowledge "How to work on a test environment?" as well as the answer to "How to create a bot?":

A gray bubble Source appears. It means that the knowledge Source "How to create my first knwoledge?" proposes a redirection to the knowledge "How to create a new knowledge?".

Insert a sidebar

If you have extra content to show to your end users that are not adapted to the classic dialog box of the chatbot, you can use a sidebar which is an extra modal placed next to the dialog box. It can be used to show images, videos, tables, or web pages.

You can add a sidebar via the WYSIWYG editeur by following theses steps:

  1. In the answer editor, click More options -> Sidebar.

  2. Edit the sidebar content as you would do for an answer. If you want to insert a web page, paste the page's URL in the "Show a web page" field.

Tips: if you want to add an image right next to the a (without a line break), you will need to define the format of the text and the image as "Paragraph".

Other options

The other options are composed of:

  • Define a GUI action: this allows javascript code to be included in the bot answer. This is used, among other things, to define the animation associated with the answer. The GUI action is also used to define Livechat actions.The GUI action is particularly necessary to:

    • Escalate the conversation in livechat, Create a livechat escalation)

    • define callbot actions (hang up, repeat, etc.)

    • allow a file download button to be displayed during a chatbot conversation (link to the new “Use a GUI action > Allow the user to send an attachment to the chatbot” doc

When you upload files, you can send up to five attachments maximum at one time.

Important: the total size of these five combined attachments must never exceed 10 MB per upload.

  • Answer type: this allows you to define an answer type associated with the knowledge. So, you can consider a knowledge as being a social knowledge, a misunderstood sentence or still as a neutral knowledge (not counted in analytics).

  • Automatic feedback: this option allows you to set an automatic feedback for the knowledge.

  • Survey: this option allows you to associate a survey with the knowledge that will then be suggested to the user.

  • Type of contact provided: this option allows you to add a way of contact for the user. You can make him filling a form, etc.

  • Switch consultation space: this option allows you to make the user switch to a consultation space.

  • Start Date: you have the option to create a knowledge that you do not want to publish right away but at a future date planned. By choosing a starting date, an alert on that date will indicate that you must pass this knowledge to the Published status to make it accessible to users.

  • Expiration date: when the date is due, an alert will appear in the Alerts tab and the configured answer will be displayed for unpublished knowledge (modifiable answer in Global sentences). You can continue to display the answer you added by checking the Keep answer after expiration date option.

  • Variable edition before action: this option allows you to define a variable before executing the action. The defined action will then be executed before the answer.

  • Variable edition after action: this option allows you to define a variable after the action is executed.

  • Keep answer after expiration date: this option allows you to keep the answer after the expiration date.

  • Ignore in analytics: check this box allows you to indicate that you do not want this knowledge to be accounted in analytics.

  • Keep dialog box minimized: check this box to indicate that you want to keep the dialog box minimized.

  • Ask for feedback: you can choose if the answer does or does not require the users feedback. The demand is automatically checked when creating a knowledge. If you want to create a decision tree, this one will be requested at the end of a tree.

  • Lock text field: this option allows you to lock the text field.

  • Exclusive misunderstood sentence :

This option is only available in the failure branch of a decision tree.

When this option is checked and the user provides a response that does not belong to the success branches of the decision tree, the bot will reply with the content of the failure branch.

When this option is unchecked and the user provides a response that does not belong to the success branches of the decision tree but matches another answer from the knowledge base, the bot will provide the response from that knowledge source.

Knowledge template​

If you have created knowledge templates, a Template tab will be available from the options in your answer window.

You can then select one of your templates and use it to enrich your knowledge.

Use step actions

You can also use step actions: those allow you to cut multi-step knowledge with the Previous and Next buttons.

You can use the “step actions” to divide an answer into several steps. This feature is useful for example for knowledge explaining a step by step process.

First, you need to parameter this feature in your project because it is not by default.

  1. Go to Preferences > Bot > General.

  2. Scroll down to the Knowledge section

  3. Check the Allow action steps box.

  1. Click Update at the bottom of the page.

Now you can create knowledge with step actions.

When creating a knowledge, you can then add action steps this way:

  1. Pull down the menu dedicated to the consultation spaces at the top right of the answer window.

  2. Click the step icon in the current consultation space, then click Add step.

Default = step 1

Default -step 2 = step 2

Default - step 3 = step 3 …

You can create up to 15 steps by clicking on the “steps” icon.

For each addition of a step “update” the knowledge for saving the corresponding answer.

Click the "-" icon to remove a step. You can also delete all steps thanks to the "Delete all" option.

On front side

The answer is now displayed step by step with the corresponding answer and the possibility to go forward and backward over the steps using the “previous” and “next” buttons.

Source code

Note that you can also change the source code for your answer by clicking Source code:

Click Ok to validate your modifications.

Content Security: Using JavaScript in Knowledge Items

By default, the system allows the injection of JavaScript scripts within knowledge items to add dynamic interactions. This is the standard behavior of the chatbot.

However, if you wish to restrict this behavior for security reasons, a specific configuration can be implemented:

  • Disabling JavaScript: Once activated, this security feature automatically removes any JavaScript script contained in knowledge items before they are displayed.

  • Implementation: This option is not enabled by default. It is the client's responsibility to inform Dydu if they want the ability to use JavaScript in knowledge items to be disabled for their bot. Dydu will then handle adding the necessary configuration reference (bot.allowjsinanswers).

Use predefined GUI action

Use a GUI action

You can use your GUI actions within your knowledge from the answer window. In the practical case below, you will be able to define a GUI action to modify the placeholder of your bot after triggering a specific knowledge. This can be useful if you want to tell the user to enter their email address.

  1. From the answer window, click More options then click the Other options tab.

  2. Click the icon on the right of Define a GUI action then select the action CustomPlaceHolder.

  3. Click the arrow on the right of the set GUI action and enter the title of the placeholder that you want to display after triggering the knowledge.

  4. Click Update then click Update again to validate the changes. Your placeholder will be edited when this knowledge is called.

    Note: It is not possible to test this GUI action from the test bot. To test and validate the correct operation of changing your placeholder to the call of a knowledge, please test the knowledge on your bot from a URL test (on the configuration page of your bot).

Use predefined action

Callbot :

  • BlockDtmf

  • Block STT

  • DoNotSave

  • Dtmf

  • Hang up

  • Redirect

  • Redirect with intro

  • Repeat

  • Send a SIP header

  • Silent user timeout

  • WaitForAdress

  • WaitForDate

  • WaitForEmail

  • WaitForName

  • WaitForNumber

  • WaitForNumberPlate

  • WaitForPhoneNumber

  • WaitForSpelling

  • WaitForTime

Functions:

  • Clear history interactions

  • CustomPlaceHolder

Use this GUI action to modify the placeholder displayed in the chatbot input field after your knowledge is triggered. For example, this can be useful if you expect the user to enter their email address in the input field: instead of having the placeholder saying “Type your message here”, you can replace it with “Enter your email address here”

Update your knowledge to validate the changes. The input field placeholder will be modified when this knowledge is called.

  • CustomResponseMaxLength

Use this GUI action to limit the number of characters the user can type in the chatbot input field, for their next answer only. This can be useful, for example, if you ask the user for a SIREN number before a livechat transfer: you can limit their input to "9" characters.

  1. From the answer window, click More options then click the Other options tab.

  2. Click the icon on the right of Define a GUI action then select the action CustomResponseMaxLength.

  3. Click the arrow on the right of the set GUI action and enter the maximum number of characters allowed (for example "9").

  4. Click Update then click Update again to validate the changes.

  • The limit only applies to the user's next answer. As soon as the user sends their message, the maximum number of characters goes back to the value defined in the Chatbox configuration (100 by default).

  • If the character counter is displayed, it takes this limit into account.

  • The maximum value is 500 characters: a higher value is automatically reduced to 500.

  • If no value is entered, the maximum number of characters defined in the chatbox configuration applies.

  • This GUI action is independent of CustomPlaceHolder: you can use it alone or with other GUI actions.

  • File load request

This GUI action allows you to propose to end user to upload a file and send it to the chatbot.

The method named KnowledgeUploadFile() is called automatically and silently by the chatbox as soon as the file upload is successful, thus allowing the scenario to continue without visual interruption for the user. It is optional.

The size of the attachment must not exceed 10 MB.

The accepted extensions for the attachment to be transmitted are categorized below:

  • Images: .png, .jpg, .jpeg, .jfif, .pjpeg, .pjp, .svg, .gif, .webp

  • Documents and text: .pdf, .txt, .dot, .doc, .docx, .odt

  • Spreadsheets: .csv, .xls, .xlt, .xla, .xlsx, .ods

  • Presentations: .pptx, .odp

The attachments sent by users are accessible from the relevant conversation via a link secured by a token.

In the event of a purge, anonymization, or encryption of conversations, the transmitted attachments are taken into account: they will therefore no longer be accessible according to the defined purge, anonymization, or encryption criteria.

  • Open the dialog box

  • ProposeHelp

  • Display only the side panel

Livechat:

  • Connect to livechat

  • Teaser

  • Call button triggering a knowledge

  • Survey

  • Display a survey

Voice Changer ElevenLabs

This feature improves the quality of the callbot's voice synthesis by integrating a voice changer such as ElevenLabs. For each response, the user can record their own voice: this recording is analyzed, and the voice synthesis then generates a new version using the selected synthetic voice, while preserving the original tempo, rhythm, and intonation.

It allows the vocalization of responses to be adapted to the way you say them (intonation, pauses, etc.), for a more natural result.

  • The synthetic voice is used, but the prosody follows the recording. It is essential to read exactly the displayed text; adding or modifying words will prevent the feature from working.

  • Dynamic variables (e.g., ${capture.myvariable}) are not supported.

Tip: Write the responses the way you would like to say them out loud.

Last updated