aws-samples/aws-lex-web-ui

Sample Amazon Lex chat bot web interface

What it solves

This project provides a ready-to-use web interface for Amazon Lex bots, eliminating the need for developers to build a custom chatbot UI from scratch. It allows users to interact with a Lex bot via text or voice directly from a browser.

How it works

The project consists of JavaScript libraries that can be integrated into a website either as a full-page application or as an embeddable widget (iframe). It uses Amazon Cognito Identity Pools to authenticate API calls to the Lex bot. The UI can be deployed automatically via AWS CloudFormation templates, which set up the necessary S3 buckets and Cognito resources.

Who it’s for

Web developers and AWS users who want to quickly add a professional, responsive chatbot interface to their existing websites or create a stand-alone chatbot page.

Highlights

  • Flexible Deployment: Supports full-page or embeddable widget modes.
  • Multimodal Interaction: Seamless switching between text and voice input.
  • Advanced Voice Features: Includes automatic silence detection, transcriptions, and the ability to interrupt responses.
  • Customizable: Can be programmatically configured using JavaScript and supports Lex response cards.
  • Interactive Messaging: Supports ListPicker and TimePicker templates for richer user interactions.

Related

  • Project
  • Project
  • Project
  • Project
  • Project