You are viewing content from a past/completed QCon

Presentation: Serverless and Chatbots: A Match Made in the Cloud

Track: Microservices / Serverless Patterns & Practices

Location: Ballroom BC

Duration: 2:55pm - 3:45pm

Day of week: Monday

Level: Intermediate

Persona: Architect, Backend Developer, Developer, Front-end Developer, General Software, Technical Engineering Manager

Share this on:

What You’ll Learn

  • Hear  about the architecture of the serverless chatbot that Liberty Mutual built.

  • Learn how to leverage cloud services (such as AWS Lex) to build a conversational bot.

  • Understand some of the mindset changes we need to build a conversational system.

Abstract

The Internet tutorials promised that building a chatbot was simple, and that the magic of Serverless would make it even simpler. And it was true. But it turns out that the simple runs out very quick. By the time I discovered this I was already hooked on both Conversational AI and Serverless technologies. Conversational Interfaces let users interact with technology in a new way - and Serverless lets developers build software in a new way. Combined they bring something brand new that requires both learning new skills and applying existing skills in new ways.
Our team has built an Employee Digital Assistant for the employees of our Fortune 100 company. Using practical examples from our chatbot, let me share with you some of the lessons we learned that can get you started with your own chatbot. Building a simple chatbot is simple - building a great chatbot is what I’m going to show you how to do. 

Question: 

QCon What's the focus of the work that you do?

Answer: 

Gillian: I work for a large enterprise organization, Liberty Mutual. About a year and a half ago, I started working on an employee digital assistant (a chatbot for internal productivity). That was the first time I'd worked in the cloud. Suddenly with this project, I was working with cloud, serverless, and artificial intelligence.

While I was working on these things, I started to feel like there was a much, much bigger picture at play here. We are a huge company, and we've got all these different initiatives going on. They have so many commonalities. Not only that, but because it’s a new interface, it's just different than anything we've ever built, and we have all these new things to think about (and learn). It’s not just in IT but outside of it as well.

So, at the moment, I've stepped out of the project (just briefly) to put together an organizational strategy for how we can equip the company to use these technologies and be really effective.

Question: 

QCon: Can you tell me more about this talk?

Answer: 

Gillian: I'll be speaking about chatbots generally, and how we built our employee digital assistant. I will be focused on building on AWS. That's not an endorsement of AWS. That is just what we built our platform on. A lot of the learnings however are applicable regardless of what cloud or chatbot technology you use.

As far as technology, our app is surfaced through a toolbar on our intranet as the primary way of interacting with it, and on our mobile apps, it has a custom front end. The backend is designed to be able to surface up through anywhere. My talk won't be focused on the front-end integration, it will be more focused on the backend.

Question: 

QCon: Are you leveraging the conversational pipeline that AWS has available to developers or is this something that is using tools that you built specifically around serverless?

Answer: 

Gillian: We're using AWS Lex, which is their service for conversation bots. We're using a lot of the services from AWS as well. That's the power of serverless. There are no servers but you just put together a whole pile of services to put your building blocks together. We are, however, using our own CI/CD tools outside of AWS and build everything through code not the console.

Question: 

QCon: How much are you going to spend on the architecture of building a system like this?

Answer: 

Gillian: I will show a very high-level diagram of our architecture, where we say things, at what point we say things, and how we do our conversational analytics (things like that). It won't be huge, but I will show the various bits of the architecture, and what happens in those different bits. I’ll also talk about our build/deploy pipeline and how we test.

Question: 

QCon: Who is the audience for this talk?

Answer: 

Gillian: I'm talking to an experienced developer, but probably someone who is just getting started with chatbots (potentially hasn't even done anything with chatbots yet). If you're getting started (or you're wanting to scale up something you've got) and you're trying to work out what you need to think about if you're going to go to scale, this talk is for you.

I will be assuming that you know about software development. so I’ll be jumping right into the pieces involved in building a chatbot, and why we used serverless.

Question: 

QCon: What's the technical problem that keeps you up at night?

Answer: 

Gillian: Because I work in cognitive technologies and think a lot about humanizing technology (what we should be doing), I get a lot of questions around what human capabilities I believe we can or can't automate now or in the future. But honestly, that's completely the wrong question. The question people should be asking is what human capability shouldn't we automate? Regardless of whether we can or can't, which one shouldn't we?

That's a question that keeps me up at night. That's the one I think about a lot. Honestly, I think we'll be able to create a facsimile of almost anything, but there are things that even if we can,  we shouldn't.

Speaker: Gillian Armstrong

Cognitive Technologies @Liberty_IT

Gillian works as a Technical Lead in the Cognitive Technologies team in Liberty IT. Her team is focused on thinking about big problems, and working out how to solve them using innovative technology in interesting new ways. At the moment she is working on Artificial Intelligence, with a particular focus on Conversational AI design and development. She has more than a decade’s worth of experience in many technologies across the full stack, and loves being a software engineer as it allows her not just to think up big ideas, but also to make them a reality.

Find Gillian Armstrong at

Proposed Tracks

  • Building High-Performing Teams

    Building, maintaining, and growing a team balanced for skills and aptitudes. Constraint theory, systems thinking, lean, hiring/firing and performance improvement

  • Software Defined Infrastructure: Kubernetes, Service Meshes & Beyond

    Deploying, scaling and managing your services is undifferentiated heavy lifting. Hear stories, learn techniques and dive deep into what it means to code your infrastructure.

  • Practices of DevOps & Lean Thinking

    Practical approaches using DevOps and a lean approach to delivering software.

  • Operationalizing Microservices: Design, Deliver, Operate

    What's the last mile for deploying your service? Learn techniques from the world's most innovative shops on managing and operating Microservices at scale.

  • Developer Experience: Level up your Engineering Effectiveness

    Improving the end to end developer experience - design, dev, test, deploy and operate/understand.

  • Architectures You've Always Wondered About

    Next-gen architectures from the most admired companies in software, such as Netflix, Google, Facebook, Twitter, & more

  • Machine Learning without a PhD

    AI/ML is more approachable than ever. Discover how deep learning and ML is being used in practice. Topics include: TensorFlow, TPUs, Keras, PyTorch & more. No PhD required.

  • Production Readiness: Building Resilient Systems

    Making systems resilient involves people and tech. Learn about strategies being used from chaos testing to distributed systems clustering.

  • Building Predictive Data Pipelines

    From personalized news feeds to engaging experiences that forecast demand: learn how innovators are building predictive systems in modern application development.

  • Modern Languages: The Right Language for the Job

    We're polyglot developers. Learn languages that excel at very specific tasks and remove undifferentiated heavy lifting at the language level.

  • Delivering on the Promise of Containers

    Runtime containers, libraries and services that power microservices.

  • Evolving Java & the JVM

    6 month cadence, cloud-native deployments, scale, Graal, Kotlin, and beyond. Learn how the role of Java and the JVM is evolving.

  • Trust, Safety & Security

    Privacy, confidentiality, safety and security: learning from the frontlines.

  • Beyond the Web: What’s Next for JavaScript

    JavaScript is the language of the web. Latest practices for JavaScript development in and out of the browser topics: react, serverless, npm, performance, & less traditional interfaces.

  • Modern Operating Systems

    Applied, practical & real-world deep-dive into industry adoption of OS, containers and virtualization, including Linux on.

  • Optimizing You: Human Skills for Individuals

    Better teams start with a better self. Learn practical skills for IC.

  • Modern CS in the Real World

    Thoughts pushing software forward, including consensus, CRDT's, formal methods & probabilistic programming.

  • Human Systems: Hacking the Org

    Power of leadership, Engineering Metrics and strategies for shaping the org for velocity.