I have a skill which streams local radio stations with a Lambda function. The custom intent to request and play a station calls the custom intent "GetStation", which works fine (i.e. it streams the radio station requested. But when I add a second custom intent "GetMenu' to provide a list of stations to the user, it ignores the utterances provided for this intent and sends the AMAZON.Fallback intent instead.
I have tried several variations of the second custom intent but I cannot get past the AMAZON.Fallback intent being called.
I have provided a sample of the skill's JSON below (the invocation name below is just an example, not the one I've used). If anyone has suggestions as to how to get it to find the GetMenu custom intent instead of the fallback intent, I'd really appreciate getting them.
One final comment, on a previous skill I developed, before the AMAZON.Fallback intent was mandatory, this custom intent worked without a problem.
{ "interactionModel": { "languageModel": { "invocationName": "my radio", "intents": [{ "name": "GetStation", "slots": [{ "name": "Station", "type": "LIST_OF_STATIONS" } ], "samples": [ "ask my radio to play {Station}" ] }, { "name": "GetMenu", "slots": [{ "name": "menulist", "type": "LIST_OF_MENUS" } ], "samples": [ "ask my radio for {menulist}" ] }, { "name": "AMAZON.FallbackIntent", "samples": [] }, { "name": "AMAZON.CancelIntent", "samples": [] }, { "name": "AMAZON.HelpIntent", "samples": [] }, { "name": "AMAZON.StopIntent", "samples": [] }, { "name": "AMAZON.PauseIntent", "samples": [] }, { "name": "AMAZON.ResumeIntent", "samples": [] } ], "types": [{ "name": "LIST_OF_STATIONS", "values": [{ "name": { "value": "one" } }, { "name": { "value": "three" } }, { "name": { "value": "four" } }, { "name": { "value": "five" } } ] }, { "name": "LIST_OF_MENUS", "values": [{ "name": { "value": "stations" } }, { "name": { "value": "menu" } } ] } ] } } }
Regards
Cliff