Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build a ChatBot in 10 minutes!

Dave Kerr
October 27, 2017

Build a ChatBot in 10 minutes!

Use serverless technology such as AWS Lambda to build a chatbot with AWS Lex

Dave Kerr

October 27, 2017
Tweet

More Decks by Dave Kerr

Other Decks in Technology

Transcript

  1. Build a ChatBot in 10 Minutes! Serverless Summit 2017, Bangalore

    @dwmkerr #inserverless Dave Kerr Senior Expert, McKinsey & Company
  2. “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
  3. Sometimes we have state which we build up over a

    conversation… @dwmkerr #inserverless
  4. This gets complex! When do you clear a session? At

    least you save time on the scripting J @dwmkerr #inserverless
  5. 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
  6. 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