Easy ReviewAIF-C01
Fundamentals of AI and ML4

Lex

Build conversational chatbots and voice interfaces.

Amazon Lex builds conversational interfaces, chatbots and voice bots, for applications.

Conversational interfaces

Amazon Lex builds chatbots and voice bots. It understands what a user means, manages the conversation, and plugs into web, mobile and chat channels.

How it works

  1. Define the intents the bot handles and the information it needs from the user.
  2. Lex recognizes speech (ASR) and understands the request (NLU).
  3. Lex asks follow-up questions until it has what it needs, then calls your logic.
  4. Publish the bot to web, mobile or chat platforms.

Exam cues

  • If the question says chatbot or conversational interface, think Amazon Lex.
  • If the question says the bot must collect details before acting, think slots of an intent fulfilled by Lambda.

Remember

  • Lex = ASR + NLU for conversations.

Trap: Lex builds the conversation, not the voice. Turning text into speech is Amazon Polly.

From the AWS docs (5)
  • Amazon Lex V2 builds conversational interfaces for applications using voice and text, with natural language understanding (NLU) and automatic speech recognition (ASR).
  • Amazon Lex needs no deep learning expertise; you define the basic conversation flow in the console and Lex manages the dialog.
  • Lex chatbots can be added to mobile devices, web applications and chat platforms.
  • A Lex intent is an action the user wants to perform; it has a name, sample utterances showing how users ask for it, and a fulfillment, usually an AWS Lambda function.
  • Slots are the parameters an intent needs; Lex prompts the user for each required slot value before it fulfills the intent, and each slot has a built-in or custom slot type.

Flashcards

tap to flip
Answer

·

All 4 cards as a list

A company wants a chatbot on its website that understands customers' typed and spoken questions. Which AWS service fits?

Amazon Lex, which builds conversational interfaces with voice and text.

Which two capabilities does Amazon Lex combine for voice bots?

Automatic speech recognition (ASR) and natural language understanding (NLU).

Does a team need machine learning experts to build a bot with Amazon Lex?

No. You define the conversation flow in the console and Lex manages the dialog.

Which AWS service can build a conversational interface that accepts both voice and text?

Amazon Lex builds conversational interfaces using speech recognition and natural language understanding.

You finished every topic of AIF-C01!

Your badge turned gold. Next step: book the exam on AWS. Once you pass, add yourself to Who passed.

Share

Share that you finished this certification

I finished every topic of AWS Certified AI Practitioner (AIF-C01) on Easy Review. Come study too!