Build an Educative Chatbot with Conversational AI Using AWS Lex

Build an Educative Chatbot with Conversational AI Using AWS Lex
Build an Educative Chatbot with Conversational AI Using AWS Lex

CLOUD LABS

Build an Educative Chatbot with Conversational AI Using AWS Lex

In this Cloud Lab, you’ll learn how to create a conversational bot using the Amazon Lex V2 service. You’ll also learn to create intents and custom slot types and add confirmation, fulfillment, and closing messages. You’ll also learn to add conditional branches in the flow of normal conversation.

8 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of the Lex bot and intents
Working knowledge of slots and their role in fulfilling the intent
The ability to add conditional branching in slots
The ability to create interactive chatbots using Amazon Lex

Technology
Lex
Cloud Lab Overview

Amazon Lex V2 is a service used to create conversational interfaces backed by natural language understanding (NLU) and automatic speech recognition (ASR). This service allows you to make text and voice-based applications more easily and quickly by using the power of existing language models.

In this beginner-level Cloud Lab, you’ll create an Educative Bot, which will interact with you and ask about your course preferences. You’ll learn to create and use intents and slot types. You’ll also learn to create a conversational flow; e.g., what the initial response to the user’s query should be, how to use slots, add confirmation, fulfillment, and close an intent with an appropriate message. Finally, you’ll learn to evaluate the user’s input and add conditional branches based on the result.

After completing this Cloud Lab, you’ll have enough knowledge and understanding to build your bots. You’ll be able to define the conversational flow and design the bot’s logic efficiently.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Provisioned infrastructure after completing this lab
Provisioned infrastructure after completing this lab

Cloud Lab Tasks
1.Introduction
Getting Started
2.Create and Test a Lex Bot
Create an Educative Lex Bot
Create and Test an Intent
Create and Test a Slot
Add Confirmation, Fulfillment, and Closing Response
Add a Conditional Logic in Slots
3.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image