Create a voicebot
How to turn your chatbot into a voicebot on Chatlayer.
Last updated
How to turn your chatbot into a voicebot on Chatlayer.
Last updated
Not sure what the differences are between chat and voice bots? This article will help you.
Add a Voice channel from your Channels tab.
Click on Create.
Click on Set up Sinch Voice.
Paste your Sinch Key and App Secret to Chatlayer.
Click Save.
When the previous steps are completed, you'll be able to see the same number from your Sinch Dashboard Voice App in your numbers for the Sinch Voice channel on Chatlayer. The Callback URL from Sinch Dashboard will be automatically filled in for you.
Under your Settings tab, go to Voice.
You have several dialects suggested for your languages. Select the one you'd like to be default by clicking the Make default button after you hovered on it.
To enhance your bot's responses using Speech Synthesis Markup Language (SSML) and improve the conversational experience. This will need to be used inside Text in blocks.
To enable SSML, you need to put <speak>
… </speak>
around the entire bot text.
For example:
Adjusting Speech Rate: Use <prosody rate="slow">
to make the bot speak more slowly for clarity.
Changing Pitch: Utilize <prosody pitch="high">
to make the tone sound more upbeat.
Emphasizing Words: Apply <emphasis level="strong">
to give particular emphasis to crucial words.
Pausing for Effect: Insert <break time="500ms"/>
to create a pause.
And many more!
There's much more cool stuff to do with SSML!
Check all you can do with SSML on Google documentation.
The Google guidelines for SSML will only work on the voices with Standard or Wavenet on their names: