I'm trying to handle better phonetic pronunciations and pausing with Alexa+Lambda+Javascript. I see from the docs: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/speech-synthesis-markup-language-ssml-reference that you are able to do so using Speech Synthesis Markup Language. However, when I build and send the Javascript object so Alexa may speak something, I receive error messages.
This is the attribute I'm sending Alexa to speak from the Lambda log files:
{ outputSpeech: { type: 'SSML', ssml: '<speak>This output speech uses SSML.</speak>' } }
Any ideas of what exactly I'm missing?
Thanks in advance.