Google Assistant Latest Status - Umeda VUI meetup

Google Assistant Latest Status - Umeda VUI meetup

6d5d830c8d2805a2c22ea2eb1e2431cc?s=128

Yoichiro Tanaka

October 20, 2018
Tweet

Transcript

  1. 2.

    Yoichiro Tanaka Software Engineer / IT Architect Google Developers Expert

    (Assistant, Web) twitter.com/yoichiro google.com/+YoichiroTanaka
  2. 6.
  3. 7.
  4. 8.
  5. 9.
  6. 10.
  7. 11.
  8. 12.
  9. 13.
  10. 14.
  11. 15.
  12. 16.
  13. 17.
  14. 18.
  15. 19.
  16. 20.
  17. 21.
  18. 23.
  19. 26.

    Google Cloud Platform Android, Google Play, Web, etc. Assistant SDK

    Actions on Google Smart-(phones | watches | speakers | earphones | tvs), PCs, Cars SDKs for Actions, Actions API, Assistant API, Home Graph API Dialogflow
  20. 27.

    Action on Google platform • actions-on-google-nodejs - The SDK to

    build your actions. • Actions API - The API set to call functions (ex. sending notifications) • Home Graph API - To manipulate Home Graph (ex. Report State) • Dialogflow - The Natural Language Processing service. • Assistant SDK - To integrate Google Assistant with devices. • Assistant API - The Google Assistant gRPC interface.
  21. 28.
  22. 32.

    Developers can write a test code with the testing library.

    'use strict'; const { dialogflow } = require('actions-on-google'); const functions = require('firebase-functions'); const app = dialogflow({ debug: true }); app.intent('Default Welcome Intent', conv => { conv.close('Hello, world.'); }); export.fulfillment = functions.https.onRequest(app);
  23. 33.

    Smart Home actions What is the temperature in the house?

    Link 28 degree Set the house to 25 25 degree Unlink SYNC QUERY EXECUTE DISCONECT 23 degree REPORT STATE
  24. 34.

    Build Actions for the Google Assistant (Level 1) - Japanese

    Creating a new project, intent, Using an entity and Handing them by fulfillment code with the inline editor. Build Actions for the Google Assistant (Level 2) - Japanese Creating own fulfillment code, custom entity, Adding a deep-link, follow-up intent and Using helpers, SSML Build Actions for the Google Assistant (Level 3) - English Storing data between conversations, custom reprompts, custom exit, visual selection with carousel, follow-up prompts Smart Home Washer - Japanese Creating a new project, a washer on local, Adding modes, toggles, request syncs and report states Codelabs
  25. 36.

    app.intent('Start Signin', conv => { conv.ask(new SignIn('To get your account

    details')) }) app.intent('Get Signin', (conv, params, signin) => { if (signin.status === 'OK') { const payload = conv.user.profile.payload conv.ask(`I got your account details, ${payload.name}. What do you want to do next?`) } else { conv.ask(`I won't be able to save your data, but what do you want to do next?`) } })
  26. 38.
  27. 39.
  28. 40.

    +

  29. 46.