amazon-web-servicesamazon-lex

Where Can I give Entities in Amazon Lex ? Is Slot the other name for entity mentioned in Amazon Lex?


Every Bot works on NLP. So, Intent and Entities are must to create a bot. I found Intents in the Amazon Lex. but i didnt find entities. Slot is the other name for entity? Can anyone explain me what is intent and entity in detail with Lex?


Solution

  • Following explanation may help you understand the concepts Intent and Entity:

    Intent is a task or an action a user want to perform, for example, I want to book a cab or want to order the food.

    Book a cab and order the food are intents. These intents have the entities called cab(vehicle), food(pizza). Intents will tell you what user wants to do whereas entities will help you with how to do?

    In Amazon lex, Slot is a section where you can mention the entity and the values for the entity.

    Example:

    Intent: Book a cab

    This is a task a user wants to do.

    Entity: Cab

    Values for the entity is Micro, Mini, Prime.