Lex, Connect and Kendra
Amazon Lex for chatbots and voice bots, Amazon Connect for cloud contact centers and how they work together, and Amazon Kendra for ML-powered document search.
Amazon Lex
Amazon Lex builds conversational interfaces, with the same technology that powers Alexa.
- Automatic speech recognition (ASR) to convert speech to text.
- Natural language understanding (NLU) to recognise the intent of text or callers ("book a hotel", "check my balance") and the details (slots: dates, city…).
- Helps build chatbots and call center bots, for voice and text.
- Integrates with Lambda for business logic, and with Connect.
Amazon Connect
Amazon Connect is a cloud-based virtual contact center.
- Receive calls, create contact flows (call routing, menus), chat and messaging.
- Can integrate with other CRM systems or AWS.
- No upfront payments, about 80% cheaper than traditional contact center solutions (pay per use).
Updated since the slides
The contact center product is now called Amazon Connect Customer, and "Amazon Connect" names a wider family of AI solutions. Exam questions still say Amazon Connect.
Lex and Connect together
- A customer calls to schedule an appointment.
- Connect answers and streams the call to Lex.
- Lex recognises the intent ("book an appointment") and the date and time.
- Lex invokes a Lambda function, which schedules the appointment in the CRM.
Amazon Kendra
Not on the exam list
Amazon Kendra and Amazon Connect aren't on the current exam guide's in-scope list. Kendra was on an older version. Knowing what they do helps recognise them as answers.
Amazon Kendra is a fully managed document search service powered by machine learning.
- Extracts answers from within a document (text, PDF, HTML, PowerPoint, Word, FAQs…).
- Natural language search: "Where is the IT support desk?" → "1st floor".
- Connectors index S3, RDS, SharePoint, Google Drive, OneDrive, Salesforce, ServiceNow and more.
- Learns from user interactions and feedback to promote preferred results (incremental learning).
- Search results can be fine-tuned (importance of data, freshness, custom rules).
- A GenAI index also feeds generative AI assistants (retrieval augmented generation).
Real-world examples
- A bank puts a Lex bot on its phone line through Connect, so customers can check balances without waiting for an agent.
- A company intranet uses Kendra so staff can ask "How many days of parental leave do I get?" and get the answer from the HR policy PDF.
Exam tips
- "Chatbot", "voice bot", "conversational interface" → Lex.
- "Cloud contact center", "call center" → Connect (with Lex for self-service).
- "Search documents with natural language questions" → Kendra.
Common traps
- "Lex is a contact center." Lex is the bot; Connect is the contact center.
- "Kendra for searching database fields." Kendra searches documents for answers; for search on application data, use OpenSearch.
Check yourself
A Lex bot with Connect needs a claimed phone number, and Kendra charges from about $1 an hour per index, so instead:
Amazon Connect for the phone line, a Lex bot to understand the request (intent and time slot), and a Lambda function that writes the appointment to the booking system.
AWS documentation
Transcribe, Polly, Translate and Comprehend
Amazon Transcribe for speech to text, Amazon Polly for text to speech with lexicons and SSML, Amazon Translate, and Amazon Comprehend and Comprehend Medical for natural language processing.
SageMaker AI and Personalize
Amazon SageMaker AI for building, training and deploying custom machine learning models, the ML process in a simple example, and Amazon Personalize for real-time recommendations.