Is there a maximum length to utterances, either as defined in Sample Utterances in the Interaction Model, or as spoken/written to Alexa? Here's why I ask.
As a way to learn how to create new skills for Alexa, I adapted a HelloWorld sample into one to mimic the old "Magic 8 Ball." That is, the user can ask any question, and Alexa will respond with an intentionally non-definitive answer randomly chosen from a discrete set of equally non-definitive answers. Given that the answer is random, it has no relation to the question. That makes it easy to program (hence, adapting HelloWorld) and it also means the user can ask whatever they want.
In order to do this, I have a Sample Utterances comprising single words, one for each possible question word (e.g., do, did, does, etc.), all mapping to the same intent (which generates the random response).
This seems to work fine for short phrases, like "Shall we play a game?" However, for longer phrases like, "Shall we play a game and then go have lunch?" the tester returns "Unable to generate request for your skill." for the Lambda Request (I'm using Amazon Lambda).
The key idea is that I just want Alexa to trigger off that first word "Shall" and then ignore the rest of the phrase, however long it is. Alternatively, it would be useful if the rest of the phrase was scooped up into a slot that could be exposed to further processing within my Lambda function. But, either way, it's not going to work if Alexa has a limit on the utterance length.
So, is there a maximum utterance length?