Open kgass opened 4 years ago
So found out that the merging Bug is related to invalid SSML. Unfortunately there is no error message from Google for SSML errors.
And as a workaround for the problem that the speech object is completely missing I changed conv.add(new Simple('Text'))
to conv.prompt.firstSimple = new Simple('Text')
or conv.prompt.lastSimple = new Simple('Text')
When calling the webhook multiple times in one scene and sending simple responses there is a bug at merging the simple responses.
prompt from the first webhook call
prompt from the second webhook call
merged prompt in the response send to the user
So with the two
speak
tags the SSML is invalide and is not spoken out. Sometimes the speech object is completely missing.