Unable to place question mark when using SSML at end of Alexa prompt confirmation?
Please help or fix, thanks!
Unable to place question mark when using SSML at end of Alexa prompt confirmation?
Please help or fix, thanks!
This worked in my testing console:
<speak>
Is
<say-as interpret-as="telephone">1234567</say-as> correct?
</speak>
I think in your second image you got it almost right, but probably it needs a space between the </speak> and the question mark that follows it. More info can be found here:
It seems that there is a problem with speak tags. I also get this error, when I add speak tags. Without them, I was able to put question mark. But if I add ssml and speak tags, I get the error saying, that question mark has to be at the end of the expression. This happens when pressing the plus symbol. Before there is no error:
After pressing plus:
Without ssml it works fine with this example: "I like MG?"
This is still an issue. Alexa's reading punctuation even when it's outside the <say-as> tags.
Check out my Slot Confirmation Alexa Speech Prompt in my SaveBusStopIntent:
I found a solution. You have to use a comma not a period after the </say-as> end tag.
for example: <speak>is <say-as interpret-as="digits">{bus_stop}</say-as>, is that right?</speak>. (works without reading punctuation).
this will read the punctuation:
<speak>is <say-as interpret-as="digits">{bus_stop}</say-as>. is that right?</speak>.
(will read "dot")
My best guess is that there's a regex that's parsing the "." and "?" into SSML but not ",".
3 People are following this question.