SlideShare a Scribd company logo
1 of 17
Building Google Home Applications
Using DialogFlow
Alex Austin
November 2017
2
Overview
• Computer interaction via natural language (voice, chatbot) is growing
– U.S.: 20% use phone voice assistants; 10% use stand-alone devices (Home, Echo)
• Machine learning drives success & growth in this space
– Free tools exist to learn & build, with no programming experience required
• Google Home and Amazon echo have two types of voice applications:
– Built in: Check the weather, set a timer, play music, etc.
– 3rd Party Applications:
• Check my bank balance
• Order an Uber
• Anything else you come up with – We’ll learn how today !
3
Tools to get started
• Go to DialogFlow, create an account, and log in - https://dialogflow.com/
• We’ll cover the basics today, and this video is also a great walkthrough
https://www.youtube.com/watch?v=9SUAuy9OJg4
• Basic Terminology:
– Agent – Voice applications are known as ‘Agents’ in API.AI
– Intent – A certain thing you want your agent to do
– Entity – A list of objects that your agent will recognize as inputs from the user
• Example: For this tutorial, we’ll create an Agent that tells you what
meeting rooms are near your team
– Agent Name: “example_rooms_near_me”
– Intent example: “list rooms near 3500 block”
– Entity example: “teams_in_3500”
• e.g. Marketing, Operations, Design, etc.
4
Create Agent: Click the drop down in top left, create new agent, give
it a name and description, then save
5
Create an entity: Give it a name, list a few values, and hit save
6
Create an intent request: Give it a name, and type an example user
request. Note that API.AI recognizes and defines the entity from user
7
Create the intent response: Scroll down and define how you want
your agent to respond when this intent is requested. You can call the
user’s input parameter using the dollar sign “$”
8
Push live & test: You can push your agent live across many
applications. Click “actions on google” and follow prompts to test on
the Google Home simulator
9
Your Agent is working! Now you can enhance it with training, pre-
built intent additions, and backend fulfillment
10
Training: Constantly improve your agent by assigning the right
intent or entity when it encounters a question it can’t answer
11
Prebuilt Agents: Instantly add functionality to your agent with
API.AI’s suit of pre-built intents – add weather, small talk, and more
12
Backend Fulfillment: Connect your agent to a database, website, or anything
accessible via API. You can use the ‘webhook’ feature to make an API call
for additional info (aka ‘connect the backend’)
**I recommend getting your first agent running and tested without using a webhook (focus of this training).
After that, connecting to backend via webhook is a great step 2 – we’ll tackle this in a separate training session.
• Or, check out this link for a detailed tutorial: https://docs.api.ai/docs/webhook#webhook-example
13
As we’ve seen, you can create an agent in less than an hour;
Try creating one of these and impress your family & friends
• Chores agent:
– Intent: “Who should take out the trash?”
– Text Response: Return a random family members name
• Office agent:
– Intent: “When does the morning bus run?”
– Intent: “Which cafeteria should we go to for lunch?”
• Fun fact:
– Intent: “Tell me a fun fact about $family_members_name”
– Text Response: Return a random fact about the family member requested
• Other ideas for work, home, fun ??
14
Appendix
15
User Request
Interaction Model
(for your Application)
Backend
How does it work?
• Voice (Echo, Home)
• Chat-bot
– Facebook
– Slack
• Intent
– What user wants to do
• Sample Utterances
– How they request it
• Execution Logic
– Code to fulfill request
• Database
• Website
• Anything connected to
the internet..
16
User Request Interaction Model Backend
How do we do it?
• Voice
• Chat-bot
• Intent
• Sample Utterances
• Execution Logic
• Anything on the
internet
Machine Learning API ConnectionsKeys to success:
API.AI Web InterfaceTools for this demo: “Webhook” API call
17
20% of Americans leverage voice on mobile phone, while 10%
leverage in-home voice devices; large YoY growth seen for in-home
Mobile Phone: https://www.emarketer.com/Article/Alexa-Say-What-Voice-Enabled-Speaker-Usage-Grow-Nearly-130-This-Year/1015812
Mobile Search: 20% of Mobile Queries are generated by Voice.
Echo / Home Users: http://www.businessinsider.com/amazon-echo-vs-google-home-sales-estimates-chart-2017-5
Echo Growth: http://www.geekwire.com/2016/amazon-holiday-sales-numbers/ ; http://www.geekwire.com/2016/amazon-echo-sales-reach-5m-two-
years-research-firm-says-google-competitor-enters-market/

More Related Content

Similar to Building google home applications tutorial

Web & Mobile App Design for Non-Coders with Bubble.is
Web & Mobile App Design for Non-Coders with Bubble.isWeb & Mobile App Design for Non-Coders with Bubble.is
Web & Mobile App Design for Non-Coders with Bubble.isJames Eckhardt
 
Agencies Developer Products
Agencies Developer ProductsAgencies Developer Products
Agencies Developer ProductsJeff Eddings
 
Designing Voice Applications - Create For Voice
Designing Voice Applications - Create For VoiceDesigning Voice Applications - Create For Voice
Designing Voice Applications - Create For VoiceKasia Ryniak
 
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Google Assistant Actions – Codelab and Hackathon - 2018.06.06Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Google Assistant Actions – Codelab and Hackathon - 2018.06.06Marius Florian Mailat
 
How to build and publish a google home app with dialogflow
How to build and publish a google home app with dialogflowHow to build and publish a google home app with dialogflow
How to build and publish a google home app with dialogflowMoses Sam Paul Johnraj
 
Best Of SEJ Summit: Duane Forrester on the Future of Voice Search
Best Of SEJ Summit: Duane Forrester on the Future of Voice SearchBest Of SEJ Summit: Duane Forrester on the Future of Voice Search
Best Of SEJ Summit: Duane Forrester on the Future of Voice SearchSearch Engine Journal
 
Building poollie wk 2014 for ios android and windows phone using xamarin and ...
Building poollie wk 2014 for ios android and windows phone using xamarin and ...Building poollie wk 2014 for ios android and windows phone using xamarin and ...
Building poollie wk 2014 for ios android and windows phone using xamarin and ...Vincent Hoogendoorn
 
Nysae tech institute 4 13-11
Nysae tech institute 4 13-11Nysae tech institute 4 13-11
Nysae tech institute 4 13-11Lee_Hornstein
 
Nysae tech institute 4 13-11
Nysae tech institute 4 13-11Nysae tech institute 4 13-11
Nysae tech institute 4 13-11Lee_Hornstein
 
IT Resources for Your Business
IT Resources for Your BusinessIT Resources for Your Business
IT Resources for Your Businessasuarea48
 
How to Build a Dialogflow App by using Actions on Google.
How to Build a Dialogflow App by using Actions on Google.How to Build a Dialogflow App by using Actions on Google.
How to Build a Dialogflow App by using Actions on Google.Yuting Liu
 
Driving App Success Part II
Driving App Success Part IIDriving App Success Part II
Driving App Success Part IINathan Mellor
 
Finding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankFinding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankYogiWanKenobi
 
Finding Anything: Real-time Search with IndexTank
Finding Anything:  Real-time Search with IndexTankFinding Anything:  Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankYogiWanKenobi
 
Chatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot FrameworkChatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot Frameworkgjuljo
 
API Workshop Series Part 2: The Future of Intelligent User Interactions
API Workshop Series Part 2: The Future of Intelligent User InteractionsAPI Workshop Series Part 2: The Future of Intelligent User Interactions
API Workshop Series Part 2: The Future of Intelligent User InteractionsCaitlin Zucal
 
10 Digital Marketing Trends for 2017
10 Digital Marketing Trends for 201710 Digital Marketing Trends for 2017
10 Digital Marketing Trends for 2017DragonSearch
 
PhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.com
PhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.comPhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.com
PhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.comPhoenixGMN WebAndAppsDevelopment
 
Actions On Google - How? Why?
Actions On Google - How? Why?Actions On Google - How? Why?
Actions On Google - How? Why?Ido Green
 

Similar to Building google home applications tutorial (20)

Web And App Design
Web And App DesignWeb And App Design
Web And App Design
 
Web & Mobile App Design for Non-Coders with Bubble.is
Web & Mobile App Design for Non-Coders with Bubble.isWeb & Mobile App Design for Non-Coders with Bubble.is
Web & Mobile App Design for Non-Coders with Bubble.is
 
Agencies Developer Products
Agencies Developer ProductsAgencies Developer Products
Agencies Developer Products
 
Designing Voice Applications - Create For Voice
Designing Voice Applications - Create For VoiceDesigning Voice Applications - Create For Voice
Designing Voice Applications - Create For Voice
 
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Google Assistant Actions – Codelab and Hackathon - 2018.06.06Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
 
How to build and publish a google home app with dialogflow
How to build and publish a google home app with dialogflowHow to build and publish a google home app with dialogflow
How to build and publish a google home app with dialogflow
 
Best Of SEJ Summit: Duane Forrester on the Future of Voice Search
Best Of SEJ Summit: Duane Forrester on the Future of Voice SearchBest Of SEJ Summit: Duane Forrester on the Future of Voice Search
Best Of SEJ Summit: Duane Forrester on the Future of Voice Search
 
Building poollie wk 2014 for ios android and windows phone using xamarin and ...
Building poollie wk 2014 for ios android and windows phone using xamarin and ...Building poollie wk 2014 for ios android and windows phone using xamarin and ...
Building poollie wk 2014 for ios android and windows phone using xamarin and ...
 
Nysae tech institute 4 13-11
Nysae tech institute 4 13-11Nysae tech institute 4 13-11
Nysae tech institute 4 13-11
 
Nysae tech institute 4 13-11
Nysae tech institute 4 13-11Nysae tech institute 4 13-11
Nysae tech institute 4 13-11
 
IT Resources for Your Business
IT Resources for Your BusinessIT Resources for Your Business
IT Resources for Your Business
 
How to Build a Dialogflow App by using Actions on Google.
How to Build a Dialogflow App by using Actions on Google.How to Build a Dialogflow App by using Actions on Google.
How to Build a Dialogflow App by using Actions on Google.
 
Driving App Success Part II
Driving App Success Part IIDriving App Success Part II
Driving App Success Part II
 
Finding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankFinding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTank
 
Finding Anything: Real-time Search with IndexTank
Finding Anything:  Real-time Search with IndexTankFinding Anything:  Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTank
 
Chatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot FrameworkChatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot Framework
 
API Workshop Series Part 2: The Future of Intelligent User Interactions
API Workshop Series Part 2: The Future of Intelligent User InteractionsAPI Workshop Series Part 2: The Future of Intelligent User Interactions
API Workshop Series Part 2: The Future of Intelligent User Interactions
 
10 Digital Marketing Trends for 2017
10 Digital Marketing Trends for 201710 Digital Marketing Trends for 2017
10 Digital Marketing Trends for 2017
 
PhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.com
PhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.comPhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.com
PhoenixGMN - How To Go About An App Idea - Guide by SuperHitApps.com
 
Actions On Google - How? Why?
Actions On Google - How? Why?Actions On Google - How? Why?
Actions On Google - How? Why?
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 

Building google home applications tutorial

  • 1. Building Google Home Applications Using DialogFlow Alex Austin November 2017
  • 2. 2 Overview • Computer interaction via natural language (voice, chatbot) is growing – U.S.: 20% use phone voice assistants; 10% use stand-alone devices (Home, Echo) • Machine learning drives success & growth in this space – Free tools exist to learn & build, with no programming experience required • Google Home and Amazon echo have two types of voice applications: – Built in: Check the weather, set a timer, play music, etc. – 3rd Party Applications: • Check my bank balance • Order an Uber • Anything else you come up with – We’ll learn how today !
  • 3. 3 Tools to get started • Go to DialogFlow, create an account, and log in - https://dialogflow.com/ • We’ll cover the basics today, and this video is also a great walkthrough https://www.youtube.com/watch?v=9SUAuy9OJg4 • Basic Terminology: – Agent – Voice applications are known as ‘Agents’ in API.AI – Intent – A certain thing you want your agent to do – Entity – A list of objects that your agent will recognize as inputs from the user • Example: For this tutorial, we’ll create an Agent that tells you what meeting rooms are near your team – Agent Name: “example_rooms_near_me” – Intent example: “list rooms near 3500 block” – Entity example: “teams_in_3500” • e.g. Marketing, Operations, Design, etc.
  • 4. 4 Create Agent: Click the drop down in top left, create new agent, give it a name and description, then save
  • 5. 5 Create an entity: Give it a name, list a few values, and hit save
  • 6. 6 Create an intent request: Give it a name, and type an example user request. Note that API.AI recognizes and defines the entity from user
  • 7. 7 Create the intent response: Scroll down and define how you want your agent to respond when this intent is requested. You can call the user’s input parameter using the dollar sign “$”
  • 8. 8 Push live & test: You can push your agent live across many applications. Click “actions on google” and follow prompts to test on the Google Home simulator
  • 9. 9 Your Agent is working! Now you can enhance it with training, pre- built intent additions, and backend fulfillment
  • 10. 10 Training: Constantly improve your agent by assigning the right intent or entity when it encounters a question it can’t answer
  • 11. 11 Prebuilt Agents: Instantly add functionality to your agent with API.AI’s suit of pre-built intents – add weather, small talk, and more
  • 12. 12 Backend Fulfillment: Connect your agent to a database, website, or anything accessible via API. You can use the ‘webhook’ feature to make an API call for additional info (aka ‘connect the backend’) **I recommend getting your first agent running and tested without using a webhook (focus of this training). After that, connecting to backend via webhook is a great step 2 – we’ll tackle this in a separate training session. • Or, check out this link for a detailed tutorial: https://docs.api.ai/docs/webhook#webhook-example
  • 13. 13 As we’ve seen, you can create an agent in less than an hour; Try creating one of these and impress your family & friends • Chores agent: – Intent: “Who should take out the trash?” – Text Response: Return a random family members name • Office agent: – Intent: “When does the morning bus run?” – Intent: “Which cafeteria should we go to for lunch?” • Fun fact: – Intent: “Tell me a fun fact about $family_members_name” – Text Response: Return a random fact about the family member requested • Other ideas for work, home, fun ??
  • 15. 15 User Request Interaction Model (for your Application) Backend How does it work? • Voice (Echo, Home) • Chat-bot – Facebook – Slack • Intent – What user wants to do • Sample Utterances – How they request it • Execution Logic – Code to fulfill request • Database • Website • Anything connected to the internet..
  • 16. 16 User Request Interaction Model Backend How do we do it? • Voice • Chat-bot • Intent • Sample Utterances • Execution Logic • Anything on the internet Machine Learning API ConnectionsKeys to success: API.AI Web InterfaceTools for this demo: “Webhook” API call
  • 17. 17 20% of Americans leverage voice on mobile phone, while 10% leverage in-home voice devices; large YoY growth seen for in-home Mobile Phone: https://www.emarketer.com/Article/Alexa-Say-What-Voice-Enabled-Speaker-Usage-Grow-Nearly-130-This-Year/1015812 Mobile Search: 20% of Mobile Queries are generated by Voice. Echo / Home Users: http://www.businessinsider.com/amazon-echo-vs-google-home-sales-estimates-chart-2017-5 Echo Growth: http://www.geekwire.com/2016/amazon-holiday-sales-numbers/ ; http://www.geekwire.com/2016/amazon-echo-sales-reach-5m-two- years-research-firm-says-google-competitor-enters-market/