Lex

Definition

AWS service for building conversational chatbots and voice assistants. Like having the technology behind Alexa available for your own applications.

Use Cases

Provider Equivalents

Frequently Asked Questions

What’s the difference between Amazon Lex and Amazon Connect?
Amazon Lex is the chatbot/voice-bot engine that understands what a user says (intents) and collects details (slots). Amazon Connect is the cloud contact center that handles phone calls, queues, agent routing, and call flows. In practice, Connect manages the call and Lex provides the conversational “brain” for automated parts of the interaction.
When should I use Amazon Lex?
Use Lex when you need an intent-based chatbot or voice bot that can: handle structured tasks (like checking order status, booking an appointment, resetting a password), ask follow-up questions to gather required details, and integrate with AWS services (Lambda, Connect, DynamoDB, etc.). If your use case is mostly open-ended Q&A over documents, you may also consider pairing Lex with a retrieval system (for example, Amazon Bedrock + a knowledge base) rather than relying only on intents.
How much does Amazon Lex cost?
Lex pricing is usage-based. Costs typically depend on the number of text requests and/or voice requests processed, and you may also pay for related services used in the solution (for example, AWS Lambda invocations, Amazon Connect telephony/minutes, logging in CloudWatch, and any external speech/telephony components). Always check the current Amazon Lex pricing page for exact per-request rates and region differences.

Category: ai-ml

Difficulty: advanced

See Also