--This presentation was presented in Serverless Summit - www.inserverless.com ---
In this presentation I'll show you how to use Amazon Lambda and Lex to build a working chatbot in just a few minutes. No prior experience is required, you'll see how to use a simple starter kit built by myself and a friend to rapidly set up a bot. This is a great way to get your hands dirty with serverless programming on the AWS platform, and have some fun writing a bot!
15. “Amazon Lex is an AWS service for building conversational interfaces for any applications using
voice and text. With Amazon Lex, the same conversational engine that powers Amazon Alexa
is now available to any developer, enabling you to build sophisticated, natural language
chatbots into your new and existing applications. Amazon Lex provides the deep functionality
and flexibility of natural language understanding (NLU) and automatic speech recognition
(ASR) so you can build highly engaging user experiences with lifelike, conversational
interactions, and create new categories of products.”
@dwmkerr
#inserverless
33. Use the session to persist conversation state between
intents
34. This gets complex! When do you
clear a session?
At least you save time on the
scripting
@dwmkerr
#inserverless
35. Bootstrap your bots, and join in for
the next set of features!
github.com/dwmkerr/lex-starter-kit
github.com/dwmkerr/lex-chat
@dwmkerr
#inserverless
38. Tips and Tricks
• Question marks in intent utterances will break Lex!
• Train with realistic data
• Complicated or very variable slots are very hard to work with (e.g.
sentences), consider using cards
• Encrypt sensitive environment variables such as keys when using lambda
functions
@dwmkerr
#inserverless