amazon lex
**Amazon Lex** is an **AWS conversational AI service for building chatbots and voice assistants** — using deep learning for natural language understanding (NLU) and automatic speech recognition (ASR) to power intelligent, human-like conversations.
**What Is Amazon Lex?**
- **Type**: Conversational AI service (chatbots, voice assistants).
- **Technology**: Natural language understanding (NLU) + speech recognition.
- **Platform**: AWS, integrates with Lambda, Alexa.
- **Deployment**: Websites, apps, Slack, Twilio, etc.
- **Cost**: Pay per request (1000 requests = ~$0.75).
**Why Amazon Lex Matters**
- **AWS Native**: Integrates seamlessly with Lambda, DynamoDB.
- **NLU**: Understands intent and slots from natural language.
- **Voice**: Built-in speech recognition and synthesis.
- **Scalable**: Nothing to manage, auto-scales.
- **Multi-Platform**: Deploy to web, mobile, Slack.
- **Cost-Effective**: Pay per request, no infrastructure.
**Core Concepts**
**Intent**: What user wants (order pizza, check balance).
**Slots**: Required information (size, crust, address).
**Utterances**: Example phrases user might say.
**Lambda Fulfillment**: Execute action (call API, database).
**Quick Start**
```
1. Define intents (OrderPizza, CheckBalance)
2. Add slots (Size, Crust, DeliveryAddress)
3. Create utterances ("I want a large pepperoni pizza")
4. Connect Lambda for fulfillment
5. Deploy to web or Slack
```
**Use Cases**
Customer support bots, pizza ordering, banking assistants, FAQ bots, appointment scheduling, IT help desk.
**vs Competitors**: Lex (AWS), Dialogflow (Google), Azure Bot Service.
Amazon Lex is the **AWS conversational AI service** — build intelligent chatbots that understand intent and context.