Building Johnny the Deployer, our AI-powered DevOps Chatbot Assistant

Building Johnny the Deployer, our AI-powered DevOps Chatbot Assistant

After working on AI-powered applications for a while now, we applied a lot of the lessons learned in building our own bot. Johnny, our DevOps chatbot, enables the release manager skip the confusing discussions with the tekkies and master the release process. It’s using NLP, so you don’t feel like talking to a bot, rather to a teammate. In this session you will learn about the building blocks of Johnny, dive into how each plays its part (pointing out reasoning behind our design decisions), and then we’ll get to do a live demo to see how all fits together. A bot framework is used to pass on information to “the brain”, which decodes your message using Natural Language Processing, and if it’s below a configurable certitude threshold comes and asks you for confirmation/clarification. Once the task to be executed is understood, the “brain” goes on to execute it and hand you over the results. Here are some questions you may ask Johnny: “What tickets are ready for QA?”,“Prepare a release candidate and deploy it to QA”,“When did we last install the API in staging?”,“How did the traffic look for the last 36 hours?”,“How many sales are there today compared with last week?”,“What version of the API is installed in production?”,“How many servers are we using now in the integration environment?”,“What is the medium load across the cluster in the last three days.”,“List the last three deployments in the QA environment.”,“Who ordered the update on the CMS in staging?”

84cfe0e14cd3fdf8d1b2ef8223d99619?s=128

Georgiana Gligor

February 22, 2018
Tweet

Transcript

  1. Building Johnny the Deployer Georgiana Gligor / Tekkie Consulting /

    @gbtekkie our AI-powered DevOps chatbot assistant
  2. 2 Georgiana Gligor ✤ Geek. Mother. Do-er. ✤ Crafting large-scale

    enterprise apps ✤ RomaniaPHP organiser ✤ PhD Student in Systems Engineering @gbtekkie gb@tekkie.ro
  3. @gbtekkie San Francisco, Feb 2018 #IndexConf 3 RESOURCES ✤ GitHub:

    https://github.com/tekkie/johnny-deployer-demo ✤ Video tutorial to set up Jira: https://www.youtube.com/watch?v=v5tqDlQcVss
  4. @gbtekkie San Francisco, Feb 2018 #IndexConf 4 AGENDA chatbots demo

    Johnny
  5. CHATBOTS

  6. @gbtekkie San Francisco, Feb 2018 #IndexConf 6 A BIT OF

    HISTORY Eliza 1966 SmarterChild 2001 Eggdrop 1993
  7. @gbtekkie San Francisco, Feb 2018 #IndexConf BOT DIRECTORIES ✤ BotList

    ✤ bots.directory ✤ There is a bot for that ✤ ChatBottle ✤ BotWiki ✤ Chatbots.org 7
  8. @gbtekkie San Francisco, Feb 2018 #IndexConf PLATFORMS 8 source: chatbots.org

  9. @gbtekkie San Francisco, Feb 2018 #IndexConf BASIC STRUCTURE 9 processing

    conversational interface
  10. @gbtekkie San Francisco, Feb 2018 #IndexConf BOT FRAMEWORKS 10 processing

    botmaster
  11. @gbtekkie San Francisco, Feb 2018 #IndexConf BOTMASTER 11

  12. @gbtekkie San Francisco, Feb 2018 #IndexConf BOTMASTER 12

  13. @gbtekkie San Francisco, Feb 2018 #IndexConf UNDERSTANDING 13 the brains

    the bot
  14. @gbtekkie San Francisco, Feb 2018 #IndexConf UNDERSTANDING 14 Watson the

    brains the bot
  15. @gbtekkie San Francisco, Feb 2018 #IndexConf 15 IBM WATSON ✤

    Thomas J. Watson - the first IBM CEO ✤ umbrella of AI technologies
  16. @gbtekkie San Francisco, Feb 2018 #IndexConf 16 WATSON CONVERSATION ✤

    old name: Dialogue ✤ free tier ✤ can later move to NLU with Knowledge Studio
  17. @gbtekkie San Francisco, Feb 2018 #IndexConf 17 WATSON CONVERSATION

  18. @gbtekkie San Francisco, Feb 2018 #IndexConf 18 WORKSPACE

  19. @gbtekkie San Francisco, Feb 2018 #IndexConf 19 INTENT EXAMPLE

  20. JOHNNY

  21. @gbtekkie San Francisco, Feb 2018 #IndexConf THE FLOW 21

  22. @gbtekkie San Francisco, Feb 2018 #IndexConf THE FLOW 22

  23. @gbtekkie San Francisco, Feb 2018 #IndexConf THE FLOW 23

  24. @gbtekkie San Francisco, Feb 2018 #IndexConf THE FLOW 24

  25. @gbtekkie San Francisco, Feb 2018 #IndexConf THE FLOW 25

  26. @gbtekkie San Francisco, Feb 2018 #IndexConf OVERALL VIEW 26 Jenkins

    Jira Watson the bot the brains
  27. @gbtekkie San Francisco, Feb 2018 #IndexConf SLACK 27 2 1

  28. @gbtekkie San Francisco, Feb 2018 #IndexConf SLACK 28 2 1

  29. @gbtekkie San Francisco, Feb 2018 #IndexConf SLACK 29

  30. @gbtekkie San Francisco, Feb 2018 #IndexConf SLACK 30

  31. @gbtekkie San Francisco, Feb 2018 #IndexConf BOTMASTER - SLACK 31

  32. @gbtekkie San Francisco, Feb 2018 #IndexConf BOTMASTER - SLACK 32

  33. @gbtekkie San Francisco, Feb 2018 #IndexConf BOTMASTER - SLACK 33

  34. @gbtekkie San Francisco, Feb 2018 #IndexConf THE BRAINS 34

  35. @gbtekkie San Francisco, Feb 2018 #IndexConf THE BRAINS 35

  36. @gbtekkie San Francisco, Feb 2018 #IndexConf THE BRAINS 36

  37. @gbtekkie San Francisco, Feb 2018 #IndexConf THE BRAINS - ASK

    WATSON 37
  38. @gbtekkie San Francisco, Feb 2018 #IndexConf WATSON: COMPLEX INTENT 38

  39. @gbtekkie San Francisco, Feb 2018 #IndexConf WATSON: CONTEXT VARIABLES 39

  40. DEMO: EXTRACT INFORMATION FROM JIRA

  41. DEMO: BUILD & DEPLOY

  42. DEMO: QUERY HISTORY BY COMPONENT

  43. ‹#› QUESTIONS? } Efficient architecture. Performance oriented. AI enhanced. gb@tekkie.ro