Amazon Lex
AI and Machine Learning · Common, learn when you need it
Builds a chatbot or phone bot that works out what the caller wants.
A phone menu that lets you say "I want to change my flight" instead of pressing 4, then asks which flight.
What it actually does
You define intents (things a user might want) and slots (details to collect), and Lex handles the conversation, asks for missing details, and calls your Lambda to do the work. It is the engine behind Alexa. It is intent-based, so it handles defined tasks well and open-ended chat badly. Many teams now put a Bedrock model behind or beside it for the free-form parts.
Reach for it when
- Phone or chat flows with a fixed set of tasks
- Call centre self-service in front of Amazon Connect
- You need speech and text with one definition
Do not reach for it when
- Open-ended conversation or reasoning, use Bedrock with a model directly
- A simple FAQ, a search page or a Knowledge Base is less work to maintain
One small example
A caller says "track my order 4471" and the bot reads back the delivery date from your database.
How you pay
Per text request and per speech request. Voice costs roughly four times text, and retries during a confused call are all billable.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.