Below are the step for a quick Amazon Lex demo
Prerequisite
-
Login to AWS account, and switch to us-east-1 region
-
Search for Amazon Lex, and click
-
Under Bot section click Create
Design & Deploy Lex Bot
-
Boot Name - booking_a_table
-
Intent Name - reserve_a_table
-
Define custom slot type (hotel_name) with values - Taj, Aura, WareHouse, VegTreat
-
Define slots
- bookingdate - AMAZON.DATE - On what date you want me to book a table?
- bookingtime - AMAZON.TIME - At what time you want me to book a table?
- numberofpeople - AMAZON.NUMBER - How many people will join you?
- restaurantname - hotel_name - In which hotel you want to book?
-
Confirmation prompt
- Check Confirmation prompt
- Confirm - Are you sure you want to book a table at {restaurantname} for {bookingdate} at {bookingtime}?
- Cancel (if the user says "no") - Your reservation will cancelled. Thank you!