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,

  1. Go to Project Side Navigation menu > Create > Components > Lists

  2. Click Phrases

     

  3. Click the Create a List button.
    Ensure the List Type is Phrases.

     

  4. Give it a name and click Add.

  5. Add different phrases that you would like the bot to say.

     

  6. 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

  1. 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.

     

  2. Click on the token option to get a dropdown.

     

  3. Click on the phrase you wanted to add. (Here we selected WelcomePhrase instead of the default Hi, welcome to your project text)

     

  4. Deploy the changes.

Your Chatbot will now use phrases in the welcome message.

Related Articles