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

Voice User Interface LT vol.2

Voice User Interface LT vol.2

Yoichiro Tanaka

May 31, 2018
Tweet

More Decks by Yoichiro Tanaka

Other Decks in Technology

Transcript

  1. Sponsor LT 2 - Google Assistant is... Voice User Interface

    Lightning Talk vol.2, Yoichiro Tanaka
  2. Yoichiro Tanaka Software Engineer / IT Architect Google Developers Expert

    (Assistant, Web) twitter.com/yoichiro google.com/+YoichiroTanaka
  3. Google Assistant is in many devices including Android, iOS, PCs,

    TVs, Cars, Headphones, Watches and Speakers. devices where Google Assistant lives. 500M
  4. Android and Web based on Google Assistant, and not only

    GUI, but VUI also will become main interface. Internet GUI VUI
  5. All developers need to use the Actions on Google. Google

    Cloud Platform, Dialogflow Android, Google Play, Web, etc. Actions on Google Smart-(phones | watches | speakers | earphones | tvs), PCs, Cars
  6. The Actions on Google is an entry point of all

    developments for the Google Assistant.
  7. Developers can build two actions: Conversational Actions and Smart Home

    Actions. Conversational Actions Smart Home Actions
  8. Most developers should take these codelabs (already translated into ja!)

    to start developing. https://codelabs.developers.google.com/lang-ja?cat=Assistant
  9. 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);
  10. Developers can write a test code with the testing library.

    'use strict'; const { ActionsOnGoogleAva } = require('actions-on-google-testing'); const { expect } = require('chai'); const action = new ActionsOnGoogleAva(require('./test-credentials.json')); action.startTest('Facts about Google - direct cat path', action => { return action.startConversation() .then(({ textToSpeech }) => { return action.send('cats'); }) .then(({ ssml }) => { expect(ssml[0]).to.have.string("Alright, here's a cat fact.") return action.endTest(); }) });
  11. Account Linking OAuth 2.0 (Authz code & Implicit grant), Google

    Sign-in Transactions API Understanding Transactions API Monetization
  12. All developers need to use the Actions on Google. Google

    Cloud Platform, Dialogflow Android, Google Play, Web, etc. Actions on Google Smart-(phones | watches | speakers | earphones | tvs), PCs, Cars