With Lex, bots can be created with the Lex Console, the API, or your own custom process. The console can step you through the various pieces to help you understand how they fit together. It also uses IAM for access, they can use Lambdas and from there, anything goes! It's important to understand the concepts.
- [Instructor] AWS Lex allows you to create Chatbots or bots. Bots are the container for the rest of the settings, configuration, details, and integration for Chatbots in AWS. Effectively, they're like a project that holds the various pieces of the bot. Bots have a purpose, or multiple purposes and just like you or me, that makes our bots feel special. A bot's purpose may be to facilitate ordering food, or planning a trip. Each area of need for that purpose is broken down into what is called an intent. Let's say you have a bot for car care. You may have one intent for requesting oil changes, and another intent in the same bot for new tires. Or a bot for ordering food, where you order the meal from restaurant A, but place dessert orders from restaurant B, because you know restaurant B's apple pie is the best, right? The point is bots can have various intents to fulfill the user's requests. The information needed in these intents are called slots. Think of missing words or phrases in a sentence. I want to order blank from blank to be delivered to blank. The slots are the blanks that the bot needs to fulfill its intent. Those are the missing pieces it needs from the user. Slots have types. Types define the type of information or data needed to fill that slot. The first blank is a type of food, the second is a restaurant or similar, and the third blank is where to deliver it, the front door, the lobby, and so on. Once the blanks or slots are filled, the bot has what it needs and can fulfill its intent. How the intent is fulfilled is up to you and your bot.
- Introducing Amazon Lex
- Lex API and CLI
- Creating the bot
- Testing the bot
- Defining slot types
- Configuring input and confirmation prompts
- Designing responses
- Publishing the bot
- Creating and connecting lambdas