SlideShare a Scribd company logo
1 of 44
Download to read offline
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
“Talk to Me Goose”
Going Beyond Your Regular
Chatbot
Luc Bors
Oracle Code One
Session DEV5557
22 October 2018 at 10:30 AM
Moscone West – Room 2011
Email: Luc.bors@eproseed.com
Twitter: @lucb_
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
Luc Bors
• Technical Director
• ADF, JET, MAF, MCS, BOTS, DA, IOT
• ACE Director / Groundbreaker Ambassador
• Using Oracle Tech since 1999
3
WHO AM I?
About eProseed
• Local offices in several parts of world
• HQ in Luxemburg
• Award winning Oracle partner
One more on
the way
Work in
progress
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROGRAM AGENDA
Introducing Chatbots
Towards Digital Assistants
Speech and Face Recognition
Putting things together
Summary
2
3
4
4
1
5
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
(CHAT)BOTS
5
• Generally speaking a bot is any software that performs an automated task
• A Chatbot is a computer program designed to simulate conversation with
human users, especially over the Internet.
• The biggest misconception that arises is that a chatbot is a bot that
converses with a human in the way that another human would converse
with a human.
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• Intents
• Utterances
• Entities
• Machine Learning/NLP
• Dialog Flow
6
TALKING SOME CHATBOT SLANG
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential7
Derived from customer input
What does the user want?
Is this mapped to an action?
Order Pizza
Order Pasta
Cancel Order
“I want to order a cheese pizza”
WHAT ARE INTENTS?
Intent
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential8
Statements that map to intent
“Sample data” for an intent
Not exact string matching
Machine learning
Need many good utterances
WHAT ARE UTTERANCES?
Order Pizza
Order Pasta
Cancel Order
Utterances
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential9
Variable/parameter for intent
Important word in an input
Adds relevance to intent
Order Pizza
“Hi, I want to order a cheese pizza”
Cheese
Pepperoni
Ham
Possibly maps to domain object
WHAT ARE ENTITIES?
Entities
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential10
Language independent ML
NLP for added accuracy
Natural language processing
Prediction based on utterances
WHAT IS MACHINE LEARNING?
Machine Learning
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
Manages conversation flow
State and context
What to do based on an input
DIALOG FLOW
Source: https://bit.ly/2mBSIqI
Dialog Flow
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROGRAM AGENDA
Introducing Chatbots
Towards Digital Assistants
Speech and Face Recognition
Putting things together
Summary
2
3
4
12
1
5
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
WHAT IS A DIGITAL ASSISTANT?
• A virtual assistant, also called AI assistant or digital assistant, is an application
program that understands natural language voice commands and completes tasks for
the user.
13
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• Amazon Echo (Alexa)
• Google Home
• Apple Siri
• IBM Watson Assistant
• Microsoft Cortana
• Samsung Bixby
• Oracle Digital Assistant
MANY VENDORS HAVE DIGITAL ASSISTANTS….…
14
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ORACLE DIGITAL ASSISTANT
15
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential16
CHATBOT CODE INVOLVED
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
THE DEMO OF A ‘REGULAR’ CHATBOT
17
DEM
O
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROGRAM AGENDA
Introducing Chatbots
Towards Digital Assistants
Speech and Face Recognition
Putting things together
Summary
2
3
4
18
1
5
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
RALPH BREAKS THE INTERNET: WRECK-IT RALPH 2 OFFICIAL
TRAILER
19
• https://www.youtube.com/watch?v=_BcYBFC6zfY&start=53&end=79
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• Amazon’s Alexa Voice Service
• face_recognition and Tensorflow
– The world's simplest face recognition
library
20
M(AN)Y CHOICE(S) FOR SPEECH AND FACE RECOGNITION
Nice comparisons found here for face
https://bit.ly/2AkXVby and here https://bit.ly/2Ozfptg
Nice comparisons found here for speech / voice assistants
found here: https://bit.ly/2q5lf7c
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
HOW DOES ALEXA WORK?
• Alexa Device à Alexa Service à Invoke Custom Skill Code
21
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential22
https://bit.ly/2P8yOAT
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
FACE RECOGNITION
• OpenCV or face_recognition
– For Face Recognition
– Aimed at real-time computer vision
• TensorFlow
– An open source machine learning framework
23
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
1. look at a picture and find all the
faces in it
2. focus on each face and be able to
understand that even if a face is
turned in a weird direction or in
bad lighting, it is still the same
person.
3. be able to pick out unique
features of the face that you can
use to tell it apart from other
people— like how big the eyes
are, how long the face is, etc.
4. compare the unique features of
that face to all the people you
already know to determine the
person’s name.
24
HOW DOES FACE RECOGNITION WORK?
from: https://bit.ly/2ab1mmR
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• Hi Alexa.
• Get me the latest playoff scores
please.
• No, Thanks
• Hi Luc, what can I do for you?
• Boston plays LA in the finals Luc.
• Anything else I can do for you?
• Oke Luc, have a nice day.
25
MAKE THINGS PERSONAL
Combining speech- and face- recognition will enable your ‘thing / device / bot / digital assistant’ to see and recognize people
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROGRAM AGENDA
Introducing Chatbots
Towards Digital Assistants
Speech and Face Recognition
Putting things together
Summary
2
3
4
26
1
5
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
GOING BEYOND YOUR REGULAR CHATBOT
• Open Up Your Regular Chatbot (Oracle Digital Assistant)
– Webhooks
• Turn Your RaspberryPi into a Personal Assistant (The Robots’ Brain)
– AlexaPi
• Add (on command) Face Recognition
– PiCam
– IFTTT (with Alexa in and Webhooks out)
27
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
OPENING UP ORACLE DIGITAL ASSISTANT
• Webhook Channel
• REST Endpoints
– A POST call that enables the server to
receive messages from your bot.
– A POST call that enables the server to
send messages to your bot.
28
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
WEBHOOK CODE (FROM ALEXA TO BOT)
29
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
WEBHOOK CODE (FROM BOT TO ALEXA)
30
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
NODE CODE INVOLVED (FROM BOT TO ALEXA)
31
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
CREATING ALEXA CUSTOM SKILL
• Needs invocation sentence
• Needs intent:
– What is it that you want…
– A sentence
• Needs a slot:
– To define how data in the slot
is recognized and handled
– AMAZON.LITERAL
• Needs endpoint to call out to
32
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• Enter (or say) invocation name
• Walk through a flow
33
TEST CUSTOM SKILL: TALK TO ORACLE ADA
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
TURN YOUR RASPBERRYPI INTO A PERSONAL ASSISTANT
• AlexaPi is the way to go.
• Install it on a fresh Raspbian image
• Follow installation manual here : https://github.com/alexa-pi/AlexaPi/wiki/Installation
• Important note:
– Installation guide needs some updates.
• sudo pip install CherryPy==10.2.1
• sudo pip install six==1.11.0
34
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
DEFINE AN ALEXA DEVICE ON AMAZON
35
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
RUNNING THE SETUP
36
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
ORDERING PIZZA (HANDSFREE)
37
Alexa, order me
a Pizza
Alexa Voice
Service Custom
Skill
Oracle
Compute Cloud
(node
webhook)
Oracle Digital
Assistant Cloud
What kind of
pizza would you
like?
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
SETUP IFTTT FOR FACE RECOGNITION WITH ALEXA
38
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
RECOGNIZE PEOPLE
39
Alexa, Verify
User
Oracle Application
Container Cloud
(node webhook)
User Identified:
Username is:
xyz
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential40
LIVE
DEM
O
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
PROGRAM AGENDA
Introducing Chatbots
Towards Digital Assistants
Speech and Face Recognition
Putting things together
Summary
2
3
4
41
1
5
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• RaspberryPi 2
– Camera
– Speaker + Microphone
– Wifi
– Servos
• On the RaspberryPi
– AlexaPi to listen and speak
– AlexaPi to control motion and lights
– RaspberryPi Cam to look at faces
– Face_recognition to recognize
• Coding
– Python
– Node
– OBotML
• Oracle ADA Cloud
• Alexa Skill to invoke PizzaBot or
whatever other thing you want
(such as IFTTT)
• IFTTT Configuration
42
TECH SUMMARY
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
• What I learned
– Raspberry Pi Rocks
– Experimenting with new Tech is fun
– Think Different
– Many many Solutions Available
• My view of the near future:
– Chatbots
• Will no no longer simply Chat
• Will Be Digital Assistants
• Will Be Autonomous
– We will ALL have our own Autonomous
Digital Assistant very soon.
– It can do a lot more than just chat
43
SUMMARY
Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential
Experts in Modern Development
• Cloud
• Microservices and Containers
• Java, JavaScript/Node.js, PHP, Python
• DevOps
developer.oracle.com/ambassador @groundbreakers
• Continuous Delivery
• Open Source Technologies
• SQL/NoSQL Databases
• Machine Learning, AI, Chatbots
45

More Related Content

What's hot

Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
DataWorks Summit
 
Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...
Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...
Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...
DataWorks Summit/Hadoop Summit
 
Building intelligent applications, experimental ML with Uber’s Data Science W...
Building intelligent applications, experimental ML with Uber’s Data Science W...Building intelligent applications, experimental ML with Uber’s Data Science W...
Building intelligent applications, experimental ML with Uber’s Data Science W...
DataWorks Summit
 

What's hot (20)

Deploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
Deploying Enterprise Scale Deep Learning in Actuarial Modeling at NationwideDeploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
Deploying Enterprise Scale Deep Learning in Actuarial Modeling at Nationwide
 
Big Data at Oracle - Strata 2015 San Jose
Big Data at Oracle - Strata 2015 San JoseBig Data at Oracle - Strata 2015 San Jose
Big Data at Oracle - Strata 2015 San Jose
 
How data modelling helps serve billions of queries in millisecond latency wit...
How data modelling helps serve billions of queries in millisecond latency wit...How data modelling helps serve billions of queries in millisecond latency wit...
How data modelling helps serve billions of queries in millisecond latency wit...
 
Accelerating AI Adoption with Partners
Accelerating AI Adoption with PartnersAccelerating AI Adoption with Partners
Accelerating AI Adoption with Partners
 
20171106_OracleWebcast_ITTrends_EFavuzzi_KPatenge
20171106_OracleWebcast_ITTrends_EFavuzzi_KPatenge20171106_OracleWebcast_ITTrends_EFavuzzi_KPatenge
20171106_OracleWebcast_ITTrends_EFavuzzi_KPatenge
 
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
 
Automatisierte Provisionierung einer Data Lab Umgebung für Data Scientists
Automatisierte Provisionierung einer Data Lab Umgebung für Data ScientistsAutomatisierte Provisionierung einer Data Lab Umgebung für Data Scientists
Automatisierte Provisionierung einer Data Lab Umgebung für Data Scientists
 
Oracle Solaris Secure Cloud Infrastructure
Oracle Solaris Secure Cloud InfrastructureOracle Solaris Secure Cloud Infrastructure
Oracle Solaris Secure Cloud Infrastructure
 
Introduction to Deep Learning and AI at Scale for Managers
Introduction to Deep Learning and AI at Scale for ManagersIntroduction to Deep Learning and AI at Scale for Managers
Introduction to Deep Learning and AI at Scale for Managers
 
Neo4j GraphTalk Florence - Introduction to the Neo4j Graph Platform
Neo4j GraphTalk Florence - Introduction to the Neo4j Graph PlatformNeo4j GraphTalk Florence - Introduction to the Neo4j Graph Platform
Neo4j GraphTalk Florence - Introduction to the Neo4j Graph Platform
 
5. Building the Cancer Research Data Commons with Neo4j: The Bento Framework
5. Building the Cancer Research Data Commons with Neo4j: The Bento Framework5. Building the Cancer Research Data Commons with Neo4j: The Bento Framework
5. Building the Cancer Research Data Commons with Neo4j: The Bento Framework
 
Building a marketing data lake
Building a marketing data lakeBuilding a marketing data lake
Building a marketing data lake
 
Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...
Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...
Near Real-time Outlier Detection and Interpretation - Part 1 by Robert Thorma...
 
Big data and its impact on SOA
Big data and its impact on SOABig data and its impact on SOA
Big data and its impact on SOA
 
Dataguise hortonworks insurance_feb25
Dataguise hortonworks insurance_feb25Dataguise hortonworks insurance_feb25
Dataguise hortonworks insurance_feb25
 
OData External Data Integration Strategies for SaaS
OData External Data Integration Strategies for SaaSOData External Data Integration Strategies for SaaS
OData External Data Integration Strategies for SaaS
 
Building intelligent applications, experimental ML with Uber’s Data Science W...
Building intelligent applications, experimental ML with Uber’s Data Science W...Building intelligent applications, experimental ML with Uber’s Data Science W...
Building intelligent applications, experimental ML with Uber’s Data Science W...
 
DDD and Microservices: Like Peanut Butter and Jelly - Matt Stine
DDD and Microservices: Like Peanut Butter and Jelly - Matt StineDDD and Microservices: Like Peanut Butter and Jelly - Matt Stine
DDD and Microservices: Like Peanut Butter and Jelly - Matt Stine
 
3 CTOs Discuss the Shift to Next-Gen Analytic Ecosystems
3 CTOs Discuss the Shift to Next-Gen Analytic Ecosystems3 CTOs Discuss the Shift to Next-Gen Analytic Ecosystems
3 CTOs Discuss the Shift to Next-Gen Analytic Ecosystems
 
Airbyte - Series-A deck
Airbyte - Series-A deckAirbyte - Series-A deck
Airbyte - Series-A deck
 

Similar to Talk to me Goose: Going beyond your regular Chatbot

Chatbots Workshop SF JS Meetup May 2018
Chatbots Workshop SF JS Meetup May 2018Chatbots Workshop SF JS Meetup May 2018
Chatbots Workshop SF JS Meetup May 2018
Tessa Mero
 

Similar to Talk to me Goose: Going beyond your regular Chatbot (20)

18.03.2022 api force presentation template
18.03.2022 api force presentation template18.03.2022 api force presentation template
18.03.2022 api force presentation template
 
OUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrateOUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrate
 
Crafting enhanced customer experience through chatbots, beacons and oracle jet
Crafting enhanced customer experience through chatbots, beacons and oracle jetCrafting enhanced customer experience through chatbots, beacons and oracle jet
Crafting enhanced customer experience through chatbots, beacons and oracle jet
 
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsGraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
 
Life of a Code Change to a Tier 1 Service - AWS Online Tech Talks
Life of a Code Change to a Tier 1 Service - AWS Online Tech TalksLife of a Code Change to a Tier 1 Service - AWS Online Tech Talks
Life of a Code Change to a Tier 1 Service - AWS Online Tech Talks
 
Serverless Kotlin
Serverless KotlinServerless Kotlin
Serverless Kotlin
 
Chatbots Workshop SF JS Meetup May 2018
Chatbots Workshop SF JS Meetup May 2018Chatbots Workshop SF JS Meetup May 2018
Chatbots Workshop SF JS Meetup May 2018
 
Custom Component development Oracle's Intelligent Bot Platform
Custom Component development Oracle's Intelligent Bot PlatformCustom Component development Oracle's Intelligent Bot Platform
Custom Component development Oracle's Intelligent Bot Platform
 
Time to Terminate Manual 5250 Tasks
Time to Terminate Manual 5250 TasksTime to Terminate Manual 5250 Tasks
Time to Terminate Manual 5250 Tasks
 
Meetups - The Oracle Ace Way
Meetups - The Oracle Ace WayMeetups - The Oracle Ace Way
Meetups - The Oracle Ace Way
 
RPA final netenzaa
RPA final netenzaaRPA final netenzaa
RPA final netenzaa
 
Oracle Cloud World 2019 - Oracle Digital Assistant
Oracle Cloud World 2019 - Oracle Digital AssistantOracle Cloud World 2019 - Oracle Digital Assistant
Oracle Cloud World 2019 - Oracle Digital Assistant
 
Breizhcamp: Créer un bot, pas si simple. Faisons le point.
Breizhcamp: Créer un bot, pas si simple. Faisons le point.Breizhcamp: Créer un bot, pas si simple. Faisons le point.
Breizhcamp: Créer un bot, pas si simple. Faisons le point.
 
🌺 Women in Automation Series: Intro to Studio ▶ Session 1
🌺 Women in Automation Series: Intro to Studio ▶ Session 1🌺 Women in Automation Series: Intro to Studio ▶ Session 1
🌺 Women in Automation Series: Intro to Studio ▶ Session 1
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
 
What is RPA?
What is RPA?What is RPA?
What is RPA?
 
Bot that chats with sap
Bot that chats with sapBot that chats with sap
Bot that chats with sap
 
Functions and DevOps
Functions and DevOpsFunctions and DevOps
Functions and DevOps
 
Delivering Mobile Apps to the Field with Oracle JET
Delivering Mobile Apps to the Field with Oracle JETDelivering Mobile Apps to the Field with Oracle JET
Delivering Mobile Apps to the Field with Oracle JET
 
Developing Apps with GPT-4 and ChatGPT_ Build Intelligent Chatbots, Content G...
Developing Apps with GPT-4 and ChatGPT_ Build Intelligent Chatbots, Content G...Developing Apps with GPT-4 and ChatGPT_ Build Intelligent Chatbots, Content G...
Developing Apps with GPT-4 and ChatGPT_ Build Intelligent Chatbots, Content G...
 

More from Luc Bors

More from Luc Bors (20)

Extending Oracle SaaS Using Oracle Cloud UX Rapid Development Kit
Extending Oracle SaaS Using Oracle Cloud UX Rapid Development KitExtending Oracle SaaS Using Oracle Cloud UX Rapid Development Kit
Extending Oracle SaaS Using Oracle Cloud UX Rapid Development Kit
 
NO CODE : Or How to Extend Oracle SaaS with Oracle Visual Builder Cloud Service
NO CODE : Or How to Extend Oracle SaaS with Oracle Visual Builder Cloud ServiceNO CODE : Or How to Extend Oracle SaaS with Oracle Visual Builder Cloud Service
NO CODE : Or How to Extend Oracle SaaS with Oracle Visual Builder Cloud Service
 
Real Life MAF (2.2) Oracle Open World 2015
Real Life MAF (2.2) Oracle Open World 2015Real Life MAF (2.2) Oracle Open World 2015
Real Life MAF (2.2) Oracle Open World 2015
 
Real life-maf-2015-k scope-final
Real life-maf-2015-k scope-finalReal life-maf-2015-k scope-final
Real life-maf-2015-k scope-final
 
Real life-maf-2015
Real life-maf-2015Real life-maf-2015
Real life-maf-2015
 
ADF Essentials (KScope14)
ADF Essentials (KScope14)ADF Essentials (KScope14)
ADF Essentials (KScope14)
 
Reaching out from ADF Mobile (ODTUG KScope 2014)
Reaching out from ADF Mobile (ODTUG KScope 2014)Reaching out from ADF Mobile (ODTUG KScope 2014)
Reaching out from ADF Mobile (ODTUG KScope 2014)
 
OgH Data Visualization Special Part III
OgH Data Visualization Special Part IIIOgH Data Visualization Special Part III
OgH Data Visualization Special Part III
 
OgH Data Visualization Special Part II
OgH Data Visualization Special Part IIOgH Data Visualization Special Part II
OgH Data Visualization Special Part II
 
OgH Data Visualization Special Part I
OgH Data Visualization Special Part IOgH Data Visualization Special Part I
OgH Data Visualization Special Part I
 
MAF push notifications
MAF push notificationsMAF push notifications
MAF push notifications
 
Doag wysiwyg
Doag wysiwygDoag wysiwyg
Doag wysiwyg
 
amis-adf-enterprise-mobility
amis-adf-enterprise-mobilityamis-adf-enterprise-mobility
amis-adf-enterprise-mobility
 
Oracle day 2014-mobile-customer-case
Oracle day 2014-mobile-customer-caseOracle day 2014-mobile-customer-case
Oracle day 2014-mobile-customer-case
 
Oracle MAF real life OOW.pptx
Oracle MAF real life OOW.pptxOracle MAF real life OOW.pptx
Oracle MAF real life OOW.pptx
 
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
 
ADF Mobile: 10 Things you don't get from the developers guide
ADF Mobile: 10 Things you don't get from the developers guideADF Mobile: 10 Things you don't get from the developers guide
ADF Mobile: 10 Things you don't get from the developers guide
 
oow2013-adf-mo-bi-le
oow2013-adf-mo-bi-leoow2013-adf-mo-bi-le
oow2013-adf-mo-bi-le
 
Goodbye Nightmare : Tops and Tricks for creating Layouts
Goodbye Nightmare : Tops and Tricks for creating LayoutsGoodbye Nightmare : Tops and Tricks for creating Layouts
Goodbye Nightmare : Tops and Tricks for creating Layouts
 
Dont Reinvent the Wheel: Tips and Tricks for reuse in ADF
Dont Reinvent the Wheel: Tips and Tricks for reuse in ADFDont Reinvent the Wheel: Tips and Tricks for reuse in ADF
Dont Reinvent the Wheel: Tips and Tricks for reuse in ADF
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

Talk to me Goose: Going beyond your regular Chatbot

  • 1. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential “Talk to Me Goose” Going Beyond Your Regular Chatbot Luc Bors Oracle Code One Session DEV5557 22 October 2018 at 10:30 AM Moscone West – Room 2011 Email: Luc.bors@eproseed.com Twitter: @lucb_
  • 2. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential Luc Bors • Technical Director • ADF, JET, MAF, MCS, BOTS, DA, IOT • ACE Director / Groundbreaker Ambassador • Using Oracle Tech since 1999 3 WHO AM I? About eProseed • Local offices in several parts of world • HQ in Luxemburg • Award winning Oracle partner One more on the way Work in progress
  • 3. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROGRAM AGENDA Introducing Chatbots Towards Digital Assistants Speech and Face Recognition Putting things together Summary 2 3 4 4 1 5
  • 4. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential (CHAT)BOTS 5 • Generally speaking a bot is any software that performs an automated task • A Chatbot is a computer program designed to simulate conversation with human users, especially over the Internet. • The biggest misconception that arises is that a chatbot is a bot that converses with a human in the way that another human would converse with a human.
  • 5. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • Intents • Utterances • Entities • Machine Learning/NLP • Dialog Flow 6 TALKING SOME CHATBOT SLANG
  • 6. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential7 Derived from customer input What does the user want? Is this mapped to an action? Order Pizza Order Pasta Cancel Order “I want to order a cheese pizza” WHAT ARE INTENTS? Intent
  • 7. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential8 Statements that map to intent “Sample data” for an intent Not exact string matching Machine learning Need many good utterances WHAT ARE UTTERANCES? Order Pizza Order Pasta Cancel Order Utterances
  • 8. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential9 Variable/parameter for intent Important word in an input Adds relevance to intent Order Pizza “Hi, I want to order a cheese pizza” Cheese Pepperoni Ham Possibly maps to domain object WHAT ARE ENTITIES? Entities
  • 9. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential10 Language independent ML NLP for added accuracy Natural language processing Prediction based on utterances WHAT IS MACHINE LEARNING? Machine Learning
  • 10. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential Manages conversation flow State and context What to do based on an input DIALOG FLOW Source: https://bit.ly/2mBSIqI Dialog Flow
  • 11. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROGRAM AGENDA Introducing Chatbots Towards Digital Assistants Speech and Face Recognition Putting things together Summary 2 3 4 12 1 5
  • 12. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential WHAT IS A DIGITAL ASSISTANT? • A virtual assistant, also called AI assistant or digital assistant, is an application program that understands natural language voice commands and completes tasks for the user. 13
  • 13. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • Amazon Echo (Alexa) • Google Home • Apple Siri • IBM Watson Assistant • Microsoft Cortana • Samsung Bixby • Oracle Digital Assistant MANY VENDORS HAVE DIGITAL ASSISTANTS….… 14
  • 14. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ORACLE DIGITAL ASSISTANT 15
  • 15. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential16 CHATBOT CODE INVOLVED
  • 16. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential THE DEMO OF A ‘REGULAR’ CHATBOT 17 DEM O
  • 17. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROGRAM AGENDA Introducing Chatbots Towards Digital Assistants Speech and Face Recognition Putting things together Summary 2 3 4 18 1 5
  • 18. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential RALPH BREAKS THE INTERNET: WRECK-IT RALPH 2 OFFICIAL TRAILER 19 • https://www.youtube.com/watch?v=_BcYBFC6zfY&start=53&end=79
  • 19. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • Amazon’s Alexa Voice Service • face_recognition and Tensorflow – The world's simplest face recognition library 20 M(AN)Y CHOICE(S) FOR SPEECH AND FACE RECOGNITION Nice comparisons found here for face https://bit.ly/2AkXVby and here https://bit.ly/2Ozfptg Nice comparisons found here for speech / voice assistants found here: https://bit.ly/2q5lf7c
  • 20. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential HOW DOES ALEXA WORK? • Alexa Device à Alexa Service à Invoke Custom Skill Code 21
  • 21. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential22 https://bit.ly/2P8yOAT
  • 22. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential FACE RECOGNITION • OpenCV or face_recognition – For Face Recognition – Aimed at real-time computer vision • TensorFlow – An open source machine learning framework 23
  • 23. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential 1. look at a picture and find all the faces in it 2. focus on each face and be able to understand that even if a face is turned in a weird direction or in bad lighting, it is still the same person. 3. be able to pick out unique features of the face that you can use to tell it apart from other people— like how big the eyes are, how long the face is, etc. 4. compare the unique features of that face to all the people you already know to determine the person’s name. 24 HOW DOES FACE RECOGNITION WORK? from: https://bit.ly/2ab1mmR
  • 24. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • Hi Alexa. • Get me the latest playoff scores please. • No, Thanks • Hi Luc, what can I do for you? • Boston plays LA in the finals Luc. • Anything else I can do for you? • Oke Luc, have a nice day. 25 MAKE THINGS PERSONAL Combining speech- and face- recognition will enable your ‘thing / device / bot / digital assistant’ to see and recognize people
  • 25. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROGRAM AGENDA Introducing Chatbots Towards Digital Assistants Speech and Face Recognition Putting things together Summary 2 3 4 26 1 5
  • 26. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential GOING BEYOND YOUR REGULAR CHATBOT • Open Up Your Regular Chatbot (Oracle Digital Assistant) – Webhooks • Turn Your RaspberryPi into a Personal Assistant (The Robots’ Brain) – AlexaPi • Add (on command) Face Recognition – PiCam – IFTTT (with Alexa in and Webhooks out) 27
  • 27. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential OPENING UP ORACLE DIGITAL ASSISTANT • Webhook Channel • REST Endpoints – A POST call that enables the server to receive messages from your bot. – A POST call that enables the server to send messages to your bot. 28
  • 28. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential WEBHOOK CODE (FROM ALEXA TO BOT) 29
  • 29. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential WEBHOOK CODE (FROM BOT TO ALEXA) 30
  • 30. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential NODE CODE INVOLVED (FROM BOT TO ALEXA) 31
  • 31. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential CREATING ALEXA CUSTOM SKILL • Needs invocation sentence • Needs intent: – What is it that you want… – A sentence • Needs a slot: – To define how data in the slot is recognized and handled – AMAZON.LITERAL • Needs endpoint to call out to 32
  • 32. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • Enter (or say) invocation name • Walk through a flow 33 TEST CUSTOM SKILL: TALK TO ORACLE ADA
  • 33. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential TURN YOUR RASPBERRYPI INTO A PERSONAL ASSISTANT • AlexaPi is the way to go. • Install it on a fresh Raspbian image • Follow installation manual here : https://github.com/alexa-pi/AlexaPi/wiki/Installation • Important note: – Installation guide needs some updates. • sudo pip install CherryPy==10.2.1 • sudo pip install six==1.11.0 34
  • 34. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential DEFINE AN ALEXA DEVICE ON AMAZON 35
  • 35. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential RUNNING THE SETUP 36
  • 36. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential ORDERING PIZZA (HANDSFREE) 37 Alexa, order me a Pizza Alexa Voice Service Custom Skill Oracle Compute Cloud (node webhook) Oracle Digital Assistant Cloud What kind of pizza would you like?
  • 37. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential SETUP IFTTT FOR FACE RECOGNITION WITH ALEXA 38
  • 38. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential RECOGNIZE PEOPLE 39 Alexa, Verify User Oracle Application Container Cloud (node webhook) User Identified: Username is: xyz
  • 39. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential40 LIVE DEM O
  • 40. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential PROGRAM AGENDA Introducing Chatbots Towards Digital Assistants Speech and Face Recognition Putting things together Summary 2 3 4 41 1 5
  • 41. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • RaspberryPi 2 – Camera – Speaker + Microphone – Wifi – Servos • On the RaspberryPi – AlexaPi to listen and speak – AlexaPi to control motion and lights – RaspberryPi Cam to look at faces – Face_recognition to recognize • Coding – Python – Node – OBotML • Oracle ADA Cloud • Alexa Skill to invoke PizzaBot or whatever other thing you want (such as IFTTT) • IFTTT Configuration 42 TECH SUMMARY
  • 42. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential • What I learned – Raspberry Pi Rocks – Experimenting with new Tech is fun – Think Different – Many many Solutions Available • My view of the near future: – Chatbots • Will no no longer simply Chat • Will Be Digital Assistants • Will Be Autonomous – We will ALL have our own Autonomous Digital Assistant very soon. – It can do a lot more than just chat 43 SUMMARY
  • 43. Copyright © 2018, eProseed and/or its affiliates. All rights reserved. | Confidential Experts in Modern Development • Cloud • Microservices and Containers • Java, JavaScript/Node.js, PHP, Python • DevOps developer.oracle.com/ambassador @groundbreakers • Continuous Delivery • Open Source Technologies • SQL/NoSQL Databases • Machine Learning, AI, Chatbots
  • 44. 45