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
Notas do Editor
I do three things:
Advise on strategy, typical McKinsey stuff
Lead our engineering practice
A lot of coding
Lessons Learned: 2 mins
23/25 mins
You cannot simply transplant existing projects onto a platform like kubernetes and expect it to scale.
Anecdote: a week of time lost while the team try and get a complex multi-database solution working on Kubernetes, a day to run it on VMs.
Lesson: Know what works. Stateless, or self organising homogenous nodes
5m mark:
Serving clients across the world, deploying in airports, writing code.
Show the readme
Setup the environment variable
Create the infrastructure
Show the bucket and function
Show the lambda function, no invocations
Show the role and policy, you’ll be glad you have it!
Demo:
0. show the README and table
show how there is a makefile in each project
run the first two makefiles
Show the circle file
Show the travis file
Show the readme
Setup the environment variable
Create the infrastructure
Show the bucket and function
Show the lambda function, no invocations
Show the role and policy, you’ll be glad you have it!
Demo:
0. show the README and table
show how there is a makefile in each project
run the first two makefiles
Show the circle file
Show the travis file
Lessons Learned: 2 mins
23/25 mins
You cannot simply transplant existing projects onto a platform like kubernetes and expect it to scale.
Anecdote: a week of time lost while the team try and get a complex multi-database solution working on Kubernetes, a day to run it on VMs.
Lesson: Know what works. Stateless, or self organising homogenous nodes
Show the readme
Setup the environment variable
Create the infrastructure
Show the bucket and function
Show the lambda function, no invocations
Show the role and policy, you’ll be glad you have it!