Welcome to the Lex Chatbot series!¶
| Category | AWS Chatbots (Amazon Lex) |
| Status | โ Completed |
| Repo | nextwork-welcome-to-the-lex-chatbot-series |
| Original NextWork guide | nextwork.ai |
Learning project
Practice work following a NextWork guide, separate from my production projects.
๐ NextWork learning project. This is a practice project I built while working through NextWork's Welcome to the Lex Chatbot series! guide. It is part of my Learning portfolio and is fully separate from my production projects.
Category: Learning โบ AWS Chatbots (Amazon Lex)
Status: โ
Completed
Overview¶
The series kickoff explains what AI is and how a chatbot is built from three parts: natural language understanding, dialog management, and integration. That sets up the BankerBot build in the following projects.
Summary¶
This is a concepts lesson (no AWS build): AI, NLU, dialog management, integration. I wrote it up as notes and made the three components concrete with a tiny runnable demo in the local Lex-style simulator.
The checks behind this are in docs/verification.txt.
Skills & tools¶
Conversational AI concepts, NLU, Dialog management, Amazon Lex (concepts), Python
What I built¶
CONCEPTS.md: notes mapping each chatbot component to Amazon Lex features.demo.py: a minimal bot showing intent classification, the confidence threshold, and fallback in action (usessimulator/lexsim.py).
How to run¶
python3 demo.py
Verification¶
I ran the verification command on 2026-12-02. The full output is in docs/verification.txt.
python3 demo.py
Original project: https://nextwork.ai/projects/b8a94149-158f-5c63-9ce2-309eddc98c64 ยท Part of my NextWork Learning portfolio (hub).
Verification output¶
From docs/verification.txt:
$ python3 demo.py
'Hello' -> intent=WelcomeIntent confidence=1.00 reply: Hi! I'm BB, the Banking Bot. How can I help you today?
'hey there can you help' -> intent=WelcomeIntent confidence=0.67 reply: Hello! BankerBot here. Ask me about your account balance or a transfer.
'good mornin' -> intent=FallbackIntent confidence=0.50 reply: Sorry, I am having trouble understanding. Can you describe what you'd like to do in a few words? I can help you find your account balance, transfer funds and make a payment.
'order me a pizza' -> intent=FallbackIntent confidence=0.25 reply: Hmm, I didn't catch that. Try something like 'check my balance' or 'transfer money'.
PASS: greeting recognised, unrelated request falls back
[exit code 0]