How do I create phrases for the voice assistant?
Where slots are spoken utterances of the user, phrases are spoken by the voice assistant. You create a list of phrases in a similar way to that you create utterances for slots. See also How do I create an Intent?
To create a new phrase list,
Go to Project Side Navigation menu > Create > Components > Lists
Click Phrases
Â
Click the Create a List button.
Ensure the List Type is Phrases.Â
Give it a name and click Add.
Add different phrases that you would like the bot to say.
Â
Save the Phrase.
If you have a list of phrases, the voice assistant randomly selects from the list for more natural responses.
For example, the following image shows a phrase list called Confirmation with three responses.
You can use the phrases like slots by placing the curly braces around the Phrase list name in the Intent Confirmation field.
Using Phrases
Go to the multi-modal content editor screen > Voice tab. You will find the multi-modal content editor screen in say node (Experience Designer), Flow studio controls, Survey controls, etc.
Â
Click on the token option to get a dropdown.
Â
Click on the phrase you wanted to add. (Here we selected WelcomePhrase instead of the default Hi, welcome to your project text)
Â
Deploy the changes.
Your Chatbot will now use phrases in the welcome message.