Search code examples
amazon-web-servicesamazon-lex

Amazon Food slot type identifies drug name as food


I am in process of developing Lex Bot and using inbuilt custom slot as Amazon.Food

While testing the bot if I ask a question :

Can I ....... Advil .... 

Advil is considered as a food item.

Does Amazon.Food include common drugs as well ? Unfortunately I can not access list of Amazon.Food


Solution

  • Requesting to peek behind the curtain of the built-in slot types are a common question. The people from Amazon tell us 2 things in response:

    1) Amazon has not made any of these built-in slot type lists available to the public.

    2) These built-in slot types are not limited to the words/phrases in their lists.

    So "Advil" could fill the slot for AMAZON.Food whether it is a part of the list or not.

    About Built-in SlotTypes: They do give a few descriptions and examples here for Lex. Then that refers you to the full list here, even though it's meant for Alexa. (The only difference, as of this writing, is that you can extend the built-in slot types in Alexa development but not in Lex.)