+ All Categories
Home > Software > AI, Bots, NLP, Slack and Alexa

AI, Bots, NLP, Slack and Alexa

Date post: 11-Apr-2017
Category:
Upload: daniel-khan
View: 92 times
Download: 0 times
Share this document with a friend
48
confidential
Transcript
Page 1: AI, Bots, NLP, Slack and Alexa

confidential

Page 2: AI, Bots, NLP, Slack and Alexa

confidential

Before we start …This talk • contains live samples• requires a working internet connection• requires an working audio connection• requires a working backend• … relies on a lot of stuff actually• uses non-deterministic algorithms

Page 3: AI, Bots, NLP, Slack and Alexa

confidential

Talking BotsCinemaJS Barcelona, March 30th 2017@dkhan

Page 4: AI, Bots, NLP, Slack and Alexa

confidential

Page 5: AI, Bots, NLP, Slack and Alexa

confidential

Artificial Intelligence

Page 6: AI, Bots, NLP, Slack and Alexa

confidential

Page 7: AI, Bots, NLP, Slack and Alexa

confidential

Page 8: AI, Bots, NLP, Slack and Alexa

confidential

Page 9: AI, Bots, NLP, Slack and Alexa

confidential

Single Events

Page 10: AI, Bots, NLP, Slack and Alexa

confidential

Page 11: AI, Bots, NLP, Slack and Alexa

confidential

AI

Understand how parts of a system interactDetect anomalies and problems by learning from the history and past eventsIsolate the root cause of a problem by analyzing thousands of single events

Page 12: AI, Bots, NLP, Slack and Alexa

confidential

Page 13: AI, Bots, NLP, Slack and Alexa

confidential

Page 14: AI, Bots, NLP, Slack and Alexa

confidential

“Tell me about user activity”

Page 15: AI, Bots, NLP, Slack and Alexa

confidential

Page 16: AI, Bots, NLP, Slack and Alexa

confidential

Page 17: AI, Bots, NLP, Slack and Alexa

confidential

Page 18: AI, Bots, NLP, Slack and Alexa

confidential

Page 19: AI, Bots, NLP, Slack and Alexa

confidential

Page 20: AI, Bots, NLP, Slack and Alexa

confidential

Page 21: AI, Bots, NLP, Slack and Alexa

confidential

developer.amazon.com

Page 22: AI, Bots, NLP, Slack and Alexa

confidential

Page 23: AI, Bots, NLP, Slack and Alexa

confidential

Page 24: AI, Bots, NLP, Slack and Alexa

confidential

ngrok ... ngrok is awesome

Page 25: AI, Bots, NLP, Slack and Alexa

confidential

Page 26: AI, Bots, NLP, Slack and Alexa

confidential

Live Demo!

Page 27: AI, Bots, NLP, Slack and Alexa

confidential

intent: { name: 'DoCommand', slots: {

command: { name: 'command', value: 'what does the cat say'

} }

}

Page 28: AI, Bots, NLP, Slack and Alexa

confidential

what does the cat saywhat do cats say

how do cats soundwhat does a dog say

Page 29: AI, Bots, NLP, Slack and Alexa

confidential

what does the cat saysubject | predicate

SyntaxThe Structure

Page 30: AI, Bots, NLP, Slack and Alexa

confidential

what does the cat sayintent: sayslot: animal, value: cat

SemanticsThe Meaning

Page 31: AI, Bots, NLP, Slack and Alexa

confidential

Natural Language Processing (NLP)

Page 32: AI, Bots, NLP, Slack and Alexa

confidential

Page 33: AI, Bots, NLP, Slack and Alexa

confidential

Live Demo!

Page 34: AI, Bots, NLP, Slack and Alexa

confidential

monkeys !== monkey && cat !== cats

Page 35: AI, Bots, NLP, Slack and Alexa

confidential

Fuzzy & Phonetic Matching

Page 36: AI, Bots, NLP, Slack and Alexa

confidential

MetaphoneTwo quick brown foxes jump over three lazy dogsTWKKBRNFKSSJMPFR0RLSTKS

Same key for similar sounding words

Two quick brown foxes jomp over three lazy dougsTWKKBRNFKSSJMPFR0RLSTKS

Amazon did this for us already!

Page 37: AI, Bots, NLP, Slack and Alexa

confidential

Porter Stemmer

Two quick brown foxes jump over three lazy dogsTwo quick brown fox jump over three lazi dog

Normalizes terms by removing or harmonizing morphological and inflexional endings.

Page 38: AI, Bots, NLP, Slack and Alexa

confidential

“cats” “cat”

Page 39: AI, Bots, NLP, Slack and Alexa

confidential

Levenshtein Distancelv(monkey, monkeys) = 0lv(monkey, monkeys) = 1lv(monkey, dog) = 6

How similar are two strings or how many transformations does it take to get from string A to string B.

Page 40: AI, Bots, NLP, Slack and Alexa

confidential

“doug” “dog”

Page 41: AI, Bots, NLP, Slack and Alexa

confidential

Porter

Levenshtein

Page 42: AI, Bots, NLP, Slack and Alexa

confidential

Live Demo!

Page 43: AI, Bots, NLP, Slack and Alexa

confidential

alexaAnimalSounds:https://github.com/danielkhan/alexaAnimalSounds

Dynatrace Davis: https://github.com/Dynatrace/davis-server

Dynatrace Free Trial: https://dynatrace.com/free-trial

Page 44: AI, Bots, NLP, Slack and Alexa

confidential

Page 45: AI, Bots, NLP, Slack and Alexa

confidential

Page 46: AI, Bots, NLP, Slack and Alexa

confidential

One Last Thing …

Page 47: AI, Bots, NLP, Slack and Alexa

confidential

Page 48: AI, Bots, NLP, Slack and Alexa

www.dynatrace.com

confidential

@dkhan

0NKY <3


Recommended