Slide 1

Slide 1 text

Google Assistant Latest Updates Umeda VUI meetup, October 20 2018, Yoichiro Tanaka

Slide 2

Slide 2 text

Yoichiro Tanaka Software Engineer / IT Architect Google Developers Expert (Assistant, Web) twitter.com/yoichiro google.com/+YoichiroTanaka

Slide 3

Slide 3 text

Google Groups http://bit.ly/assistant-dev-japan Slack http://bit.ly/assistant-dev-slack Assistant Developer Community Japan

Slide 4

Slide 4 text

27 months after the Google Assistant launched on Google I/O 2016

Slide 5

Slide 5 text

500 M devices where the Google Assistant lives at May 2018

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

Devices Actions Telephone Network Internet

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

Google Cloud Platform Android, Google Play, Web, etc. ① ②

Slide 26

Slide 26 text

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

Slide 27

Slide 27 text

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.

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Conversational Actions Smart Home Actions

Slide 30

Slide 30 text

Devices Actions Wehbook

Slide 31

Slide 31 text

Devices Actions Dialogflow Wehbook

Slide 32

Slide 32 text

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);

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

For Business... User Authentication, Authorization Purchase, Payment (both Physical & Digital goods!)

Slide 36

Slide 36 text

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?`) } })

Slide 37

Slide 37 text

https://www.eisbahn.jp/yoichiro/2018/04/explanation_of_transactions_api._ja.html

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

+

Slide 41

Slide 41 text

Google Home Hub is a "smart home controller".

Slide 42

Slide 42 text

Google Assistant is Internet.

Slide 43

Slide 43 text

https://developers.google.com/actions/design/checklist

Slide 44

Slide 44 text

https://designguidelines.withgoogle.com/conversation/#welcome-how-to-use-this-site

Slide 45

Slide 45 text

https://developer.amazon.com/ja/designing-for-voice/design-process/

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

All preparations are complete. Let's get started. Umeda VUI meetup