简体   繁体   中英

Alexa custom slot is unidentified (Only for incorrect slot words)

Slot values are: campfire, city, beach and my utterance is: {enviro} mood

if i say: campfire mood -> everything works. if i say: peanuts mood -> I don't get any value for that slot (see pic below) 在此处输入图片说明

Any idea what might be causing this? The skill is getting pretty big and I have other intents but none of them use this slot.

As the skill is big the issue may be, there are other slots which may have many single words in it and Alexa is not able to map the right slot if no word is found. So, there are actually two ways to solve that issue :

First, try this - when you don't know what user might say then use AMAZON.SearchQuery slot.

Second Option - you should place all the moods which users might say in the slots.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM