SlideShare a Scribd company logo
Extending the
Google Assistant
2
• How Am I?
• Google Assistant
• What is it?
• How Does it work?
• Build a Natural Language Understanding(NLU) Model
• What is a NLU model?
• Overview of DialogFlow.ai (former Api.ai)
• Fulfillment with Actions-On-Google
• Backend with Cloud Functions for Firebase
• Development Environment with Ngrok
• Ask the user
• Know more about the user
• Reach your users
• Hands-on
• Let's Build a rental Shisha app!
Agenda
How Am I ?
• Ndjido Ardo BAR : Lead Data Scientist @ Davidson Consulting UAE
• Background : Research In Mathematics
• Now: Working in @RTA as a Consultant
• Past:
• Working in @DU Telecom as a Consultant
• Worked @AXA (Paris)
• Worked @BearingPoint Hypercube
• Co-Founder of a StartUp (MLouma)
• Worked @Pasteur Institute: Involved in BioStatistical Research
@ndjido
3
The Google Assistant
4
The Google Assistant
The new way to talk to Google!
What is it?
The Google Assistant
How Does it Work? (1/2)
Source: Google
Actions-On-Google
The Google Assistant
How Does it Work? (2/2)
Source: Google
Building a Natural
Language Understanding
Model
4
Building a Natural Language Understanding Model
What is a NLU model?
TextVoice
I want to rent a mint Shisha for 6pm
NLU model
Intent: Rent Shisha
Entities:
- flavor: Mint
- Time: 6pm
Building a Natural Language Understanding Model
DialogFlow Overview
Intent Classification - Match & Categorize user utterances to an intent
Entity Extraction - Identify parameters for the backend logic.
Building a Natural Language Understanding Model
DialogFlow Overview: Intent Creation
Intent Name
User saysSystem Entities
Custom Entities
Slots or parameterRequired Parameter
Building a Natural Language Understanding Model
DialogFlow Overview: Custom Entity Creation
Entity Name
Entity values
Building a Natural Language Understanding Model
DialogFlow Overview: Action, Contexts and Events
Output Context
Input Context
Lifespan
Action Name
Built-in & Custom Event for triggering intent
Building a Natural Language Understanding Model
DialogFlow Overview: Fulfillment
Webhook URL with SSL termination
Building a Natural Language Understanding Model
DialogFlow Overview: Activate Fulfillment for an Intent
Activated Webhook
Static Text Response
Building a Natural Language Understanding Model
DialogFlow Overview: NLU Response in JSON format
Tests
Fulfillment with
Actions-On-Google
4
Fulfillment with Actions-On-Google
Actions-On-Google Overview
Source: Google
Fulfillment with Actions-On-Google
Deployment with Cloud Functions for Firebase
Going Serveless with Cloud Functions
Pub/Sub
Firebase
Cloud Storage
Source: Google
We use Cloud Function Local Simulators in Dev Environment
Fulfillment with Actions-On-Google
Development Environment with Ngrok
Source: ngrok.com
Ngrok creates a secured tunnel to your localhost.
Firewall + SSL Termination + tunnel to Internet
Fulfillment with Actions-On-Google
Ask the user: On different Surface Capabilities
Fulfillment with Actions-On-Google
Ask the user: Speech Synthesis Markup language
Make the conversation sound more natural with SSML
https://developers.google.com/actions/reference/ssml
Fulfillment with Actions-On-Google
Ask the user: Summarize audio with text
Use tell() to send a message and terminate the conversation
Fulfillment with Actions-On-Google
Ask the user: Use Suggestion chips
Fulfillment with Actions-On-Google
Ask the user: Guide the user with lists
<=30 items
Fulfillment with Actions-On-Google
Ask the user: Use Cards to show more information
Fulfillment with Actions-On-Google
Ask the user: Use Carousels to show more information
<=10 items
Fulfillment with Actions-On-Google
Ask the user: Ask for more information with PERMISSIONS
https://developers.google.com/actions/reference/rest/Shared.Types/Permission
Fulfillment with Actions-On-Google
Account Linking with OAUTH
Automatically Sign Up Users with Streamlined Identity Flows
https://developers.google.com/actions/identity/oauth2-assertion-flow
Fulfillment with Actions-On-Google
Transactions
Source: Google
Leverage millions of Payment Card available in Google
Reach your Users
with
Dialog Discovery
4
Reach your Users
Explicit Triggering => Include App Name
Single Point Of Entry
Reach your Users
Implicit Triggering => Trigger with "user sayings"
Multiple Points Of Entry
"Users' sayings" in the added intents can trigger your assistant
Hands-On
4
Thank You!
Questions ?
@ndjido

More Related Content

PDF
Predictive churn h20_dsx
PDF
Deep learning with TensorFlow
PPTX
SFrame
PDF
Google Cloud Platform for the Enterprise
PDF
Kaz Sato, Evangelist, Google at MLconf ATL 2016
PPTX
Google Cloud Platform: Prototype ->Production-> Planet scale
PDF
Highly-scalable Reinforcement Learning RLlib for Real-world Applications
PDF
Netflix machine learning
Predictive churn h20_dsx
Deep learning with TensorFlow
SFrame
Google Cloud Platform for the Enterprise
Kaz Sato, Evangelist, Google at MLconf ATL 2016
Google Cloud Platform: Prototype ->Production-> Planet scale
Highly-scalable Reinforcement Learning RLlib for Real-world Applications
Netflix machine learning

What's hot (20)

PDF
H2O Deep Water - Making Deep Learning Accessible to Everyone
PDF
sparklyr - Jeff Allen
PPTX
H2O Machine Learning Use Cases
PPTX
Project "Deep Water"
PDF
Scalable Machine Learning in R and Python with H2O
PDF
Introduction to GCP
PDF
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
PPTX
Hadoop Summit 2014 - San Jose - Introduction to Deep Learning on Hadoop
PDF
On-device machine learning: TensorFlow on Android
PPTX
Tensorflow Ecosystem
PDF
Introducing TensorFlow: The game changer in building "intelligent" applications
PPTX
Google Cloud Platform Update - NEXT 2017
PDF
GDD Brazil 2010 - Google Storage, Bigquery and Prediction APIs
PDF
World's Fastest Machine Learning With GPUs
PDF
H2O Deep Water - Making Deep Learning Accessible to Everyone
PDF
Deep Learning with CNTK
KEY
Numba lightning
PDF
JCConf 2015 - Google Dataflow 在雲端大資料處理的應用
PDF
Automatic and Interpretable Machine Learning in R with H2O and LIME
PDF
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
H2O Deep Water - Making Deep Learning Accessible to Everyone
sparklyr - Jeff Allen
H2O Machine Learning Use Cases
Project "Deep Water"
Scalable Machine Learning in R and Python with H2O
Introduction to GCP
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
Hadoop Summit 2014 - San Jose - Introduction to Deep Learning on Hadoop
On-device machine learning: TensorFlow on Android
Tensorflow Ecosystem
Introducing TensorFlow: The game changer in building "intelligent" applications
Google Cloud Platform Update - NEXT 2017
GDD Brazil 2010 - Google Storage, Bigquery and Prediction APIs
World's Fastest Machine Learning With GPUs
H2O Deep Water - Making Deep Learning Accessible to Everyone
Deep Learning with CNTK
Numba lightning
JCConf 2015 - Google Dataflow 在雲端大資料處理的應用
Automatic and Interpretable Machine Learning in R with H2O and LIME
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Ad

Similar to Extending the google_assistant (20)

PPTX
Google Developer Group(GDG) On Campus Info Session PPT 2024
DOC
Jitesh agrawal Resume
DOC
Jitesh Agrawal plone
PDF
How to build and publish a google home app with dialogflow
PPTX
How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
PDF
Netflix OSS Meetup Season 4 Episode 4
PDF
Build with AI on Google Cloud Session #4
PPT
Get cloudengine jisc-elluminate_wednesdays
PPTX
The Art Of Documentation for Open Source Projects
PDF
How open source is driving DevOps innovation: CloudOpen NA 2015
PDF
Evolving Translation and Internationalization in OpenStack & Kubernetes commu...
PDF
Debbie Liang Resume
PDF
Debbie Liang Resume
PPTX
OS Accelerate London - 09/16/15
PDF
StackEngine Problem Space Demo
PPT
Get CloudEngine IET coffee morning July 2011
PDF
Global Open Source Development 2011-2014 Review and 2015 Forecast
PDF
TaaS Workshop 2014, TermWiki Pro, Uwe Muegge & Carl Yao, CSOFT International
Google Developer Group(GDG) On Campus Info Session PPT 2024
Jitesh agrawal Resume
Jitesh Agrawal plone
How to build and publish a google home app with dialogflow
How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
Netflix OSS Meetup Season 4 Episode 4
Build with AI on Google Cloud Session #4
Get cloudengine jisc-elluminate_wednesdays
The Art Of Documentation for Open Source Projects
How open source is driving DevOps innovation: CloudOpen NA 2015
Evolving Translation and Internationalization in OpenStack & Kubernetes commu...
Debbie Liang Resume
Debbie Liang Resume
OS Accelerate London - 09/16/15
StackEngine Problem Space Demo
Get CloudEngine IET coffee morning July 2011
Global Open Source Development 2011-2014 Review and 2015 Forecast
TaaS Workshop 2014, TermWiki Pro, Uwe Muegge & Carl Yao, CSOFT International
Ad

Recently uploaded (20)

PPTX
L1 - Introduction to python Backend.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
System and Network Administration Chapter 2
PDF
System and Network Administraation Chapter 3
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
medical staffing services at VALiNTRY
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
L1 - Introduction to python Backend.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
How Creative Agencies Leverage Project Management Software.pdf
System and Network Administration Chapter 2
System and Network Administraation Chapter 3
wealthsignaloriginal-com-DS-text-... (1).pdf
Understanding Forklifts - TECH EHS Solution
Reimagine Home Health with the Power of Agentic AI​
Upgrade and Innovation Strategies for SAP ERP Customers
Operating system designcfffgfgggggggvggggggggg
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
medical staffing services at VALiNTRY
Design an Analysis of Algorithms I-SECS-1021-03
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
How to Choose the Right IT Partner for Your Business in Malaysia
Softaken Excel to vCard Converter Software.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Adobe Illustrator 28.6 Crack My Vision of Vector Design

Extending the google_assistant