While sending a response to the user how do I add a pause/break of few seconds? Here is an example:
Response text: "The answer to the question is < Pause-For-2-Seconds > answer"
I tried the <break = "2s" /> and that do not work for me.
You have to use SSML on your answer, to do that just wrap what your response is with <speak> tag then add another tag <break time="2s"/>, like this:
<speak>The answer to the question is <break time="2s"/> answer</speak>
For a more complete information on SSML check this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With