I have developed a very simple Alexa Skill to test slots with synonyms within spanish language.
I have got issues to get the canonical slot value.
My skill has the following silly behaviour:
Only has a custom intent called: ChangeTrafficLightIntent. I have a slot with three values: RED-YELLOW-GREEN and I have synonyms: MUST STOP - SHOULD STOP - ALLOWED, respectively.
Really simple, but is not working, because I want Alexa speeches a synonym word instead of canonical values, i.e, Alexa recognizes my synonyms but I want Alexa speeches a colour, not an action.
I could explain myself well with an example:
- USER: Open Test - ALEXA: Welcome to test skill. - USER: switch traffic light to ALLOWED. - ALEXA: traffic light switched to ALLOWED. //HERE I WOULD LIKE ALEXA TO SPEECHES GREEN INSTEAD OF ALLOWED.
I have readen very old posts about it but I have not found a clear solution.
Could somebody helps?