BadaBoomi / echo2rasa

This repository contains the complete code of the "echo2rasa" example project which gives a working example of an Amazon Alexa Skill implementd with the Rasa framework.
Apache License 2.0
5 stars 4 forks source link

alexa can't response multiple utterances #3

Closed xiabai84 closed 4 years ago

xiabai84 commented 4 years ago

Hi, first thank you for sharing the project. I tried to add more utterances in my dialogflow, but alexa only returns the first one. Is there any way to let alexa give me all utterance as I defined in stories.md?

xiabai84 commented 4 years ago

code msg = getJsonObject(messages[0]) will return the first response, if you have more utterances defined in stories.

I change it to: msg = getJsonObject(" ".join(messages))