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

Building Cognitive Bots

Building Cognitive Bots

How can you build bots that actually understand users? Rather than keyword matching with regular expressions, we want to build bots that converse with natural language and understand those conversations. We need "cognitive" bots! Developing "cognitive" applications used to require a PhD in Machine Learning, until now... IBM’s next-generation AI system, Watson, is now available as a series of APIs, aimed at regular developers, to help anyone build "cogntive" applications, PhD not required!

Dad87927739931f134c5b1242e3d04bc?s=128

James Thomas

May 20, 2016
Tweet

Transcript

  1. BUILDING COGNITIVE BOTS JAMES THOMAS, IBM

  2. None
  3. None
  4. None
  5. “WHAT MOVIE SHOULD I GO WATCH?”

  6. None
  7. LET’S ASK A FRIEND… Quick, fast & efficient.

  8. LET’S ASK WATSON… http://bit.ly/watson-movies

  9. HOW DO YOU SCRIPT NATURAL LANGUAGE CONVERSATIONS? Bot Developer. BOT

    ISSUES
  10. Dialog Script conversations any way you like to answer questions,

    walk through processes, or just to chat!
  11. CONVERSATION ANALYSIS Harvey Sacks, Founder.

  12. <?xml version="1.0" encoding="UTF-8"?> <dialog xsi:noNamespaceSchemaLocation="WatsonDialogDocument_1.0.xsd" xml <flow> <folder label="Main"> <output

    id="output_2508575"> <prompt selectionType="SEQUENTIAL"> <item>What can I call you?</item> <item>What's your name?</item> </prompt> <getUserInput id="getUserInput_2508591"> <input> <grammar> <item>Movies</item> <item>$ (GENRE)={Genre_Preference}</item> 
 DIALOG MARKUP
  13. DEMO

  14. HOW DO YOU GO BEYOND KEYWORD MATCHING? Bot Developer. BOT

    ISSUES
  15. Natural Language
 Classifier Interpret and classify natural language with confidence.

  16. QUESTION CLASS “I'd like to see a recent drama.” SearchMovies

    “Where is the Avengers showing?” CheckShowtimes LookupDirectors “What’s the new Woody Allen film?” PreSequence RepairTalk “What do you know about movies?” “What does that mean?” … and more.
  17. None
  18. Dialog Service “Can you find me a movie?” “When would

    you like to go?” Bot
  19. Dialog Service “Can you find me a movie?” “When would

    you like to go?” Classifier Bot + {“search”: 0.5678, “showtimes”: 0.0134, …}
  20. Dialog Service “Can you find me a movie?” “When would

    you like to go?” Bot + {“anger”: 0.0678, “fear”: 0.0134, …} Tone Analysis
  21. Building bots is easy…

  22. Natural language is hard. Building bots is easy…

  23. None
  24. http://bit.ly/cognitive-bots @thomasj