Fireship · @fireship

Google Assistant Quick Start for Developers

Uploaded May 17, 2018 · Length 9:12

Google Assistant Quick Start for Developers

Summary

Google Assistant app development using Dialogue Flow and Firebase Cloud Functions for conversational experiences and web scraping.

  • google assistant development
  • dialogue flow tutorial
  • firebase cloud functions
  • conversational ai
  • web scraping with nodejs

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    [Music]

  2. 0:02

    hey Google let's talk to angular

  3. 0:04

    firebase.com sure here's the test

  4. 0:08

    version of angular firebase.com howdy

  5. 0:11

    partner i'm angular firebase what can I

  6. 0:14

    do you for what's the latest episode the

  7. 0:19

    last video was episode 104 angular CLI

  8. 0:23

    basics tutorial its description goes

  9. 0:26

    like this master the basics of the

  10. 0:27

    angular v6 CLI the google assistant

  11. 0:31

    makes it easy for users to get things

  12. 0:32

    done in your app through conversation in

  13. 0:34

    today's episode we'll build a Google

  14. 0:36

    assistant app from scratch using

  15. 0:38

    dialogue flow and firebase cloud

  16. 0:40

    functions if you're new here make sure

  17. 0:42

    to LIKE and subscribe and you can grab

  18. 0:43

    the source code at angular firebase comm

  19. 0:46

    let's get started by breaking down the

  20. 0:48

    demo that I just showed you the first

  21. 0:50

    thing that I said was hey Google let's

  22. 0:52

    talk to my app name the app name is

  23. 0:55

    something that you register as the

  24. 0:56

    developer and it signifies the main

  25. 0:58

    entry point into your assistant app when

  26. 1:00

    Google finds this app it's going to

  27. 1:02

    start a session and dialogue flow we've

  28. 1:04

    used dialogue flow before in episode 58

  29. 1:07

    to build a chat bot and it's basically

  30. 1:09

    just a high-level tool for building

  31. 1:11

    conversational experiences it uses some

  32. 1:14

    crazy machine learning algorithms to

  33. 1:15

    handle the natural language processing

  34. 1:17

    so when I say get the latest episode it

  35. 1:20

    knows that I'm trying to convey this get

  36. 1:23

    latest episode intent which in turn is

  37. 1:25

    fulfilled by a firebase cloud function

  38. 1:27

    that goes out and visits the website

  39. 1:29

    gets the information that we need and

  40. 1:31

    then tells the assistant what to say to

  41. 1:32

    the end user and you can even use a rich

  42. 1:35

    card as the response so the user can

  43. 1:37

    just link directly back to your

  44. 1:38

    progressive web app that they already

  45. 1:39

    have installed on their device now that

  46. 1:41

    we know how the basic process works

  47. 1:43

    let's start building our Google

  48. 1:44

    assistant app there are several

  49. 1:46

    different ways we can do this but let's

  50. 1:48

    start in the Google Actions console you

  51. 1:50

    can link your assistant to an existing

  52. 1:52

    firebase or a Google cloud project or

  53. 1:54

    you can just create a new one from

  54. 1:55

    scratch from there you'll select a

  55. 1:58

    category and then the first thing you'll