Skip to Content

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

Amazon Lex and Connect: a customer phones to book an appointment; Connect answers the call and streams it to a Lex bot, which recognizes the intent and invokes a Lambda function that schedules the appointment in the CRM Amazon Lex and Connect: a customer phones to book an appointment; Connect answers the call and streams it to a Lex bot, which recognizes the intent and invokes a Lambda function that schedules the appointment in the CRM

A phone line that books appointments by itself.
  1. A customer calls to schedule an appointment.
  2. Connect answers and streams the call to Lex.
  3. Lex recognises the intent ("book an appointment") and the date and time.
  4. 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: documents from S3, RDS, SharePoint, Google Drive, OneDrive, Salesforce, ServiceNow and custom sources are indexed by Kendra; an employee asks a question in natural language, such as where the IT desk is, and Kendra answers 1st floor Amazon Kendra: documents from S3, RDS, SharePoint, Google Drive, OneDrive, Salesforce, ServiceNow and custom sources are indexed by Kendra; an employee asks a question in natural language, such as where the IT desk is, and Kendra answers 1st floor

Ask in plain language, get the answer, not just a link.

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:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt