SlideShare a Scribd company logo
Meet Jessie
‘Inventory assistant’
google actions
Stephen Samuel
Why Jessie?
Sam
Bob
NodeJS
webhook
MongoDB
collection (mLab)
api.ai
intent vs action
Heroku
host server
Remove items
from the
collection
Send the list to
Keep/ Express
Assist first time
user
Adding item to
the collection
Google home
voice activated speaker
Google assistant
A conversation between you and Google that
helps you get more done in your world.
Actions on Google
How developers can
extend the assistant
“Jessie, what do I have in my inventory?”
There are no items added to our inventory,
can we add now?
Intent of user
Action to be performed
“Sure, I have sugar 5kg”
added sugar 5kg to the inventory
Intent of user
Action to be performed
“Jessie,
Should I shop today, how is my inventory looking?”
you have the necessary items at home for
this week.
Intent of user
Action to be performed
High level
• Demo
Uncle Bob
Conversation action
Map user’s intent with an action and
routes to the fulfillment backend
service
Receives the action and parameters
from api.ai. Process request and
generate the dialog output
stores/ retrieves
from the mongoDB
collection
fulfillment/ web hook
What is happening here?
Send the list to
Keep/ Express
Train the Bot
ML
talk to
RaspberryPi
Alexa
Compatible
Automate
home
Next on our list!
firebase
backend
Learnings
• Technology:
• NodeJS/ Express framework, mongoDB, REST api/ Web hook
• api.ai / SSML/ Heroku deploy
• Keep it simple: One chat one list.
• Create less commands
• as you can./add and /remove are the only actions that let you manipulate the list
• Let the bot learn itself
Hey Google, Why don't you ask it yourself?
Alexa, ask pi to check the temperature
outside. I’m feeling hot in here!
Make them talk together!
Oh Good! Seriously!!
Will not talk to pi until he apologies for what
happened yesterday!
Make them talk together!
10011101001

More Related Content

Similar to Google actions developed to manage users grocery inventory

Deep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summaryDeep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summary
Rajagopal A
 
Angular js How, What & Why - MetaRefresh 2014
Angular js How, What & Why - MetaRefresh 2014Angular js How, What & Why - MetaRefresh 2014
Angular js How, What & Why - MetaRefresh 2014
shyamsesh
 
Building google home applications tutorial
Building google home applications tutorialBuilding google home applications tutorial
Building google home applications tutorial
Alex Austin
 
The Power of SEO: WeddingWire World - John Lincoln
The Power of SEO: WeddingWire World - John LincolnThe Power of SEO: WeddingWire World - John Lincoln
The Power of SEO: WeddingWire World - John Lincoln
John Lincoln
 
SB Collaboratory call2 Norton Stevens
SB Collaboratory call2 Norton StevensSB Collaboratory call2 Norton Stevens
SB Collaboratory call2 Norton StevensSustainable Brands
 
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 IndexTank
YogiWanKenobi
 
Building for Google Assistant
Building for Google AssistantBuilding for Google Assistant
Building for Google Assistant
Ralph Vincent Regalado
 
Workshop 4011- Introdcution
Workshop 4011- IntrodcutionWorkshop 4011- Introdcution
Workshop 4011- Introdcution
Lisa Sjogren
 
Tools&Strategies
Tools&Strategies Tools&Strategies
Tools&Strategies
www.sgis.org
 
Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)
Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)
Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)
Thinkful
 
Check Mini Yields Big Results
Check Mini Yields Big ResultsCheck Mini Yields Big Results
Check Mini Yields Big Results
Michael Fienen
 
Anatomy Virtual Self Study Group NEPHP 2018
Anatomy Virtual Self Study Group NEPHP 2018Anatomy Virtual Self Study Group NEPHP 2018
Anatomy Virtual Self Study Group NEPHP 2018
Gene Babon
 
Four Stages of Automated Testing by Bradley Temple
Four Stages of Automated Testing by Bradley TempleFour Stages of Automated Testing by Bradley Temple
Four Stages of Automated Testing by Bradley Temple
QA or the Highway
 
Denver Real Estate Wordcamp
Denver Real Estate WordcampDenver Real Estate Wordcamp
Denver Real Estate Wordcampmattgoyer
 
Build a webapp la september 6
Build a webapp la september 6Build a webapp la september 6
Build a webapp la september 6
Thinkful
 

Similar to Google actions developed to manage users grocery inventory (20)

Deep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summaryDeep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summary
 
Angular js How, What & Why - MetaRefresh 2014
Angular js How, What & Why - MetaRefresh 2014Angular js How, What & Why - MetaRefresh 2014
Angular js How, What & Why - MetaRefresh 2014
 
Building google home applications tutorial
Building google home applications tutorialBuilding google home applications tutorial
Building google home applications tutorial
 
The Power of SEO: WeddingWire World - John Lincoln
The Power of SEO: WeddingWire World - John LincolnThe Power of SEO: WeddingWire World - John Lincoln
The Power of SEO: WeddingWire World - John Lincoln
 
SB Collaboratory call2 Norton Stevens
SB Collaboratory call2 Norton StevensSB Collaboratory call2 Norton Stevens
SB Collaboratory call2 Norton Stevens
 
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
 
Building for Google Assistant
Building for Google AssistantBuilding for Google Assistant
Building for Google Assistant
 
Workshop 4011- Introdcution
Workshop 4011- IntrodcutionWorkshop 4011- Introdcution
Workshop 4011- Introdcution
 
Tools&Strategies
Tools&Strategies Tools&Strategies
Tools&Strategies
 
Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)
Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)
Build a Web App with JavaScript and jQuery (5:18:17, Los Angeles)
 
Check Mini Yields Big Results
Check Mini Yields Big ResultsCheck Mini Yields Big Results
Check Mini Yields Big Results
 
Anatomy Virtual Self Study Group NEPHP 2018
Anatomy Virtual Self Study Group NEPHP 2018Anatomy Virtual Self Study Group NEPHP 2018
Anatomy Virtual Self Study Group NEPHP 2018
 
Four Stages of Automated Testing by Bradley Temple
Four Stages of Automated Testing by Bradley TempleFour Stages of Automated Testing by Bradley Temple
Four Stages of Automated Testing by Bradley Temple
 
Share Point and Google Apps
Share Point and Google AppsShare Point and Google Apps
Share Point and Google Apps
 
Denver Real Estate Wordcamp
Denver Real Estate WordcampDenver Real Estate Wordcamp
Denver Real Estate Wordcamp
 
Tf bavp
Tf bavpTf bavp
Tf bavp
 
Den bavp
Den bavpDen bavp
Den bavp
 
Bavp sd
Bavp sdBavp sd
Bavp sd
 
Build a webapp la september 6
Build a webapp la september 6Build a webapp la september 6
Build a webapp la september 6
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 

Recently uploaded (20)

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 

Google actions developed to manage users grocery inventory

  • 3.
  • 5.
  • 6.
  • 7. NodeJS webhook MongoDB collection (mLab) api.ai intent vs action Heroku host server Remove items from the collection Send the list to Keep/ Express Assist first time user Adding item to the collection
  • 8. Google home voice activated speaker Google assistant A conversation between you and Google that helps you get more done in your world. Actions on Google How developers can extend the assistant
  • 9. “Jessie, what do I have in my inventory?” There are no items added to our inventory, can we add now? Intent of user Action to be performed
  • 10. “Sure, I have sugar 5kg” added sugar 5kg to the inventory Intent of user Action to be performed
  • 11. “Jessie, Should I shop today, how is my inventory looking?” you have the necessary items at home for this week. Intent of user Action to be performed
  • 14. Uncle Bob Conversation action Map user’s intent with an action and routes to the fulfillment backend service Receives the action and parameters from api.ai. Process request and generate the dialog output stores/ retrieves from the mongoDB collection fulfillment/ web hook What is happening here?
  • 15.
  • 16.
  • 17. Send the list to Keep/ Express Train the Bot ML talk to RaspberryPi Alexa Compatible Automate home Next on our list! firebase backend
  • 18. Learnings • Technology: • NodeJS/ Express framework, mongoDB, REST api/ Web hook • api.ai / SSML/ Heroku deploy • Keep it simple: One chat one list. • Create less commands • as you can./add and /remove are the only actions that let you manipulate the list • Let the bot learn itself
  • 19. Hey Google, Why don't you ask it yourself? Alexa, ask pi to check the temperature outside. I’m feeling hot in here! Make them talk together!
  • 20. Oh Good! Seriously!! Will not talk to pi until he apologies for what happened yesterday! Make them talk together! 10011101001