How To Create An Amazon Lex ChatBot : A Step-By-Step Guide
Step 1: Navigate Amazon Console
- Navigate to your AWS Account and login with your AWS credentials
Step 2: Navigate To Amazon Lex
- After login in, you will be landed on console home, then in the search box search for Amazon Lex as shown in the below figure.
- Once you find service, click on that service to navigate to their.
Step 3: Create A Chatbot
- After landing into the Amazon lex page, now click on the create Bot option, to start creating the chatbot.
Step 4: Define The ChatBot
- Specify the name as “OrderDrinks” and description as “The bot is used for ordering and getting a drink“
- Choose Create A role With Basic Amazon Lex Permissions option in Runtime Role.
- Choose No to the Children’s online privacy protection Act (COPPA).
- The following screenshot illustrates how the page looks like and where define those.
Step 5: Choose The Bot Language And Speaker
- Choose the bot language , here we are choosing the English of US.
- Choose the bot speaker, here we are choosing Ivy in the option.
- The following screenshot illustrates the successful creation of chatbot.
Step 6: Specify The Intent Details
- Here in the Intent Details section we have to provide some text to the bot, to make the bot aware for text to respond.
- The following screenshot illustrates the defining the intent details.
Step 7: Verify And Save The ChatBot
- Specify the Intent Name as Order.
- Provide the message as “Great, Let’s get started!”
- Verify once and save the chatbot.
- The following screenshot illustrates clearly the successful creation of bot with name “OrderDrink”
Step 8: Add Slots
- Add the slots with providing name and slot type as shown in the below screenshot.
- Provide the prompts as shown in the below screenshot. You can add as many slots and prompts as you want.
Step 9: Provide Confirmation Prompts
- Provide the confirmation prompt as you want or else take the reference as specified in the screenshot.
Step 10: Verify And Save Configuration
- Verify the defined configuration once and save the configuration.
- After once clicking on the save button you can we as shown in the below screenshot it will update the resources.
Step 11: Build The ChatBot
- After completing the above steps successfully, now build the chatbot by clicking on the build button.
Step 12: Test The ChatBot
- Now, test the chatbot as shown in the below screenshot right side, with drink and jon…
- If you getting the messages as responses as defined, then you created the chatbot successfully and its working fine.
What is Amazon Lex?
Amazon Lex is a powerful service provided by AWS used for the development of conversational application interfaces. Its ability to understand various natural languages and automatic speech recognition makes it simpler for users to create interesting user interfaces that resemble real-world conversations. On using this service users can easily build their conversational dashboards without the need for deep learning skills. In this article, we going to discuss Amazon Lex starting with what it is. and having a deep understanding of its workflow and use cases.
Table of Content
- What Is Amazon Lex?
- Why Amazon Lex?
- What Is Amazon Lex V2?
- How Does Amazon Lex Work?
- How To Create An Amazon Lex ChatBot : A Step-By-Step Guide
- Use Cases Of Amazon Lex
- Key Features Of Amazon Lex
- Benefits of Amazon Lex
- Get API Token For Amazon Lex
- Integration With Other Amazon Services
- Pricing And Scalability of Amazon Lex
- Limitations And Challenges Of Amazon Lex
- Conclusion
- Amazon Lex – FAQ’s