Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Google Assistant Latest Status - Umeda VUI meetup

Google Assistant Latest Status - Umeda VUI meetup

Yoichiro Tanaka

October 20, 2018
Tweet

More Decks by Yoichiro Tanaka

Other Decks in Technology

Transcript

  1. Yoichiro Tanaka Software Engineer / IT Architect Google Developers Expert

    (Assistant, Web) twitter.com/yoichiro google.com/+YoichiroTanaka
  2. 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
  3. 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.
  4. 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);
  5. 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
  6. 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
  7. 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?`) } })
  8. +