Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
CM06 既存サービスを AI アシスタント対応する際の勘所
Yoichiro Tanaka
May 30, 2019
Technology
1
350
CM06 既存サービスを AI アシスタント対応する際の勘所
de:code 2019 にてセッション「CM06 既存サービスを AI アシスタント対応する際の勘所」で使用したスライドです。
Yoichiro Tanaka
May 30, 2019
Tweet
Share
More Decks by Yoichiro Tanaka
See All by Yoichiro Tanaka
世界中の開発者と共に モノづくりをするために必要な6つのこと
yoichiro
19
5.6k
スマートスピーカーとは
yoichiro
2
790
Assistant - Google I/O 2019 Extended
yoichiro
2
1.8k
VUIが作る未来 〜 NEM9
yoichiro
0
370
Google Assistant & Actions on Google Latest Updates
yoichiro
1
1k
Actions on Google Overview
yoichiro
0
530
Actions on Google Latest Updates
yoichiro
1
81
Actions on Google Latest Updates
yoichiro
1
540
Google Assistant Latest Status - Umeda VUI meetup
yoichiro
1
400
Other Decks in Technology
See All in Technology
LINE iOSエンジニアの日々 / LINE iOS Engineer Days
line_developers
PRO
1
150
AWS re:Invent 2022で発表された新機能を試してみた ~Cloud OperationとSecurity~ / New Cloud Operation and Security Features Announced at AWS reInvent 2022
yuj1osm
1
190
20230123_FinJAWS
takuyay0ne
0
120
Cloudflare Workersで動くOG画像生成器
aiji42
1
490
PHPのimmutable arrayとは
hnw
1
150
Airdrop for Open Source Projects
epicsdao
0
660
Multi-Cloud Gatewayでデータを統治せよ!/ Data Federation with MCG
tutsunom
1
220
S3とCloudWatch Logsの見直しから始めるコスト削減 / Cost saving S3 and CloudWatch Logs
shonansurvivors
0
230
Raspberry Pi Camera 3 介紹
piepie_tw
PRO
0
140
インフラ技術基礎勉強会 開催概要
toru_kubota
0
160
初めてのデータ移行プロジェクトから得た学び
tjmtmmnk
0
220
Kaggleシミュレーションコンペの動向
nagiss
0
260
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
500
130k
The Art of Programming - Codeland 2020
erikaheidi
35
11k
Building Applications with DynamoDB
mza
85
5k
Git: the NoSQL Database
bkeepers
PRO
419
60k
Done Done
chrislema
178
14k
Writing Fast Ruby
sferik
613
58k
jQuery: Nuts, Bolts and Bling
dougneiner
57
6.6k
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
YesSQL, Process and Tooling at Scale
rocio
159
12k
Learning to Love Humans: Emotional Interface Design
aarron
263
38k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
214
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
254
12k
Transcript
Ask the Speaker Twitter
CM06 )/+$AI%*+-6. #! 2&'5,0.(14*36 " #decode19 #CM06
!#$"
AI { } Language Understanding
AI { } Language Understanding
(@chomado • (1 )
GF dl ( ) S N S DA eg i
CE S
Software Engineer / IT Architect Google Developers Expert
(Assistant, Web ) #'SIer*3-.+ &$mixi Platform*LINE &$LINE Platform' *!" mixi Platform%(OpenSocial' *! )"LINE Platform%( &$BOT'25/01,4* !" Twitter: @yoichiro
{ } Language Understanding
{ } Language Understanding
UI
( (
( (
) (
( )
)(
UI
UI VUI
None
None
None
None
GUI VUI
None
None
AI
AI
None
GUI VUI
GUI VUI
GUI VUI
GUI VUI
GUI VUI
Business Logic Function API
AI
AI
Google Device Action Webhook Speech to Text
Text to Speech
Actions on Google Client Library (SDK) Action
Actions on Google SDKHello, world import from ‘actions-on-google’ const ‘actions.intent.MAIN’
‘Hello, world!’
Actions on Google SDK import from ‘actions-on-google’ const
‘actions.intent.TEXT’ // “raw” = “ ” ’ ’
AI
AI
GUI VUI
GUI ‘/events’ //
VUI ‘…TEXT’ 14
30 1 ???
“ ” “ ” “” “ ”
“ ” “ ” “” “ ”
“ ” “” “ ” “ ”
VUI
VUI
VUI
VUI
AI
Language UnderstandingLUIS
Language Understanding { } Language Understanding https://…/?q=
Language Understanding { } Language Understanding
Language Understanding Demo
Language Understanding Demo
! const ‘https://…cognitive…/luis/v2.0/apps/…’ < > true function
// body
‘…’ const const if ‘event-time’ const const ‘
’
… if ‘confirm-yes’ await ‘eventName’ ‘eventTime’ ‘
’
{ } Language Understanding
AI
Authentication, Authn
Authorization, Authz
OAuth2
Account Linking OAuth2
‘…’ const accessToken = conv.user.access.token request({ url: ‘https://…business-logic…/api/events’,
headers: { ‘Authorization’: `Bearer ${accessToken}`, } … }, function(error, response, body) { …
Active Directory OAuth2
OAuth2 { } Language Understanding
AI { } Language Understanding
AI
https://yoichiro.github.io/codelabs
https://github.com/yoichiro/decode-cm06-demo2
None
) (
© 2018 Microsoft Corporation. All rights reserved. )(@-$%/SUK>=JDA/ <@
[email protected]
<2G/,
>5& 6IH 42GC80 © 2019 Microsoft Corporation. All rights reserved. )(@- ($%/SUK>=JD) A/de:code 2019 (2019!529~30 ) @
[email protected]
<2G/, >5& 6IH 42GC80 )
[email protected]
/3FB)LUQUP?;5H"/*/TM/#/N1RO>=A9I:I/.'+?7C80