Skip to content

joshphillis/amazon-lex-chatbot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

amazon-lex-chatbot-demo

🏨 HotelBookingBot β€” Voice & Text Chatbot Powered by Amazon Lex V2

This repository has been sanitized to remove all sensitive cloud resource identifiers, including login credentials, security group names, public IPs, VPC and subnet IDs, and resource deletion steps. Any environment-specific values presented (such as sample firewall rules or admin logins) have been intentionally generic and are used solely for instructional purposes.

All actions documented in this project follow Microsoft Azure best practices for authentication, access control, and resource protection. Always ensure keys, credentials, and infrastructure metadata are stored securely and never pushed to public repositories.

Overview

HotelBookingBot is a conversational AI chatbot built using Amazon Lex V2. It enables users to seamlessly book hotel accommodations via voice or text by capturing key details such as location, check-in and check-out dates, and confirmation preferences. Powered by natural language understanding and AWS cloud services, this project demonstrates chatbot design principles for real-world use cases.

πŸ”§ Technologies Used

  • Amazon Lex V2 – Natural language processing & dialogue flow management
  • Amazon CloudWatch – Logging for bot diagnostics and error tracking
  • IAM Roles – Granular permissions for secure service interaction

πŸ—£οΈ Bot Features

  • Descriptive Bot Builder via Amazon Bedrock
  • Voice-enabled interaction using Danielle (English-US)
  • Slot handling for:
    • Location (AMAZON.City)
    • CheckInDate (AMAZON.Date)
    • CheckOutDate (AMAZON.Date)
  • Confirmation flow: "Can I go ahead and book this hotel?"
  • Closing response: β€œThanks! I have booked your room in {Location} from {CheckInDate} to {CheckOutDate}.”

πŸ“ˆ Key Lessons & Troubleshooting Highlights

  • Case sensitivity of slot names impacts closing response fulfillment
  • Fixed sessionId key error by disabling default Lambda invocation under initial response
  • Implemented proper build sequence for the draft version and tested with live utterance flow

πŸš€ How to Use

  1. Log into your AWS Console
  2. Navigate to Amazon Lex V2 service
  3. Create or import the bot configuration
  4. Test utterances in the test workbench
  5. Monitor logs and performance via CloudWatch Metrics and Analytics Dashboard

πŸ”— Useful Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published