Amazon Lex (v2): Serves as the NLU (Natural Language Understanding) engine. Lex handles voice and text-based inputs through predefined intents such as BookRide, CancelTrip, ModifyReservation, and UpdatePreferences. The bot is embedded within the customer’s web and mobile applications.
AWS Lambda: Handles all backend logic. For each intent, a corresponding Lambda function is triggered to validate input, query or update data, and compose personalized responses.
Amazon RDS (PostgreSQL, Multi-AZ): Maintains critical structured data including trip reservations, customer profiles, and driver schedules. Multi-AZ deployment ensures fault tolerance and failover support.
Amazon CloudWatch & AWS X-Ray: Provide unified logging, performance monitoring, and distributed tracing to observe and optimize CAI flows in production.