Voice User Interface LT vol.2

Voice User Interface LT vol.2

6d5d830c8d2805a2c22ea2eb1e2431cc?s=128

Yoichiro Tanaka

May 31, 2018
Tweet

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. People ask Google Assistant something on driving.

  5. People ask Google Assistant with voice, and see the rich

    visual response.
  6. Smart-earphones will become a next important device, I believe. http://www.nain.jp/ja/news/zeeny/

  7. People are walking smartphone watching… But,

  8. People will be walking not looking down with smart-earphone.

  9. Android and Web are on the internet so far. Internet

    GUI
  10. Android and Web based on Google Assistant, and not only

    GUI, but VUI also will become main interface. Internet GUI VUI
  11. Google Assistant is Internet.

  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
  13. The Actions on Google is an entry point of all

    developments for the Google Assistant.
  14. Developers can create a new action with already-preset templates.

  15. Developers set many configurations on the Actions on Google Console.

  16. Developers can build two actions: Conversational Actions and Smart Home

    Actions. Conversational Actions Smart Home Actions
  17. Developers can test the app with the Actions on Google

    simulator.
  18. There are many valuable information in the Actions on Google

    documentation page.
  19. Most developers should take these codelabs (already translated into ja!)

    to start developing. https://codelabs.developers.google.com/lang-ja?cat=Assistant
  20. Developers need to build Fulfillment to handle webhooks to fulfill

    Action.
  21. actions-on-google-nodejs SDK v2 - used on Cloud/Firebase Functions and so

    on.
  22. 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. Finally, the auto testing library has been released!

  24. 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(); }) });
  25. Actions on Google supports Draft / Alpha / Beta /

    Production environments.
  26. Developers can release apps for limited users with Alpha/Beta Release

    feature.
  27. Monetization is so important feature.

  28. Account Linking OAuth 2.0 (Authz code & Implicit grant), Google

    Sign-in Transactions API Understanding Transactions API Monetization
  29. Dialogflow provides developers Natural Language Processing.

  30. 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
  31. Assistant Developer Community Japan Community page (Google Groups) http://bit.ly/assistant-dev-japan Slack

    http://bit.ly/assistant-dev-slack Voice User Interface LT vol.2
  32. All preparations are complete. Let's get started. Voice User Interface

    LT vol.2