I am trying to create an alexa skill that can take multiple words as input and can read it out to user. Here is my Intent Schema:
{
"intents": [
{
"intent": "AMAZON.CancelIntent"
},
{
"intent": "AMAZON.StopIntent"
},
{
"intent": "AMAZON.HelpIntent"
},
{
"intent": "madlibIntent",
"slots": [
{
"name": "STEPVALUE",
"type": "AMAZON.LITERAL"
},
{
"name": "duration",
"type": "AMAZON.NUMBER"
}
]
}
]
}
I'm using AMAZON.LITERAL
to take multiple words as input from user. My sample utterances are given below:
madlibIntent begin madlib
madlibIntent build madilb
madlibIntent {z|STEPVALUE}
madlibIntent {z z|STEPVALUE}
madlibIntent {duration}
The problem is: it can take one word as input when uttered and can read it out. But if the user says multiple word, it can't take any word as input. For example: It can take 'nice' as input but doesn't get 'very nice'. Can anyone help me finding out what's wrong with it?