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

水曜ワトソンカフェ TwilioとWatson Assistantを使って、会話ボットを作ってみる

水曜ワトソンカフェ TwilioとWatson Assistantを使って、会話ボットを作ってみる

2018/8/29に開催された水曜ワトソンカフェで発表した資料となります。
構築方法は、以下の記事を御覧ください。
https://qiita.com/mobilebiz/items/169bdb6910927d4b8a60

5448f8c3e8571ba245c70536e9c8cd9a?s=128

Katsumi Takahashi

August 29, 2018
Tweet

Transcript

  1. 5XJMJPͱ8BUTPO"TTJTUBOUΛ࢖ͬͯɺ ి࿩Λ࢖ͬͨձ࿩ϘοτΛ࡞ͬͯΈΔ ਫ༵ϫτιϯΧϑΣ7PM

  2. Copyright (C) KDDI Web Communications Inc. All Rights Reserved 2

    Evangelist Katsumi Takahashi
 KDDI Web Communications Inc. Twilio Division facebook: katsumi.takahashi Twitter: _katsumi github: mobilebiz qiita: mobilebiz
  3. Copyright (C) KDDI Web Communications Inc. All Rights Reserved %PZPVLOPX5XJMJP

  4. © 2009 - 2014 Twilio, Inc. All rights reserved. ABOUT

    US ʮτΡΠϦΦʯͱൃԻ͠·͢ɻ 2008೥ αʔϏε։࢝ ຊࣾ͸αϯϑϥϯγεί ϩϯυϯɺχϡʔϤʔΫɺϚυ Ϧʔυɺ߳ߓɺγϯΨϙʔϧͳ Ͳɺੈք11ϲॴʹڌ఺͋Γ 2016೥6݄ʹIPOʢNYSEʣ
  5. Twilio's mission is to fuel the future of communications. ABOUT

    US
  6. Japan Launch 2013.4.17

  7. Growth in Japan     

  8. 5XJMJPͰԿ͕มΘΔͷ͔

  9. Copyright (C) KDDI Web Communications Inc. All Rights Reserved ΩϟϦΞͱͷి࿩ճઢܖ໿͸ཁΓ·ͤΜ

    νϟωϧͷ֓೦͕͋Γ·ͤΜ جຊྉ͕͋Γ·ͤΜ ϓϩάϥϜͰి࿩Λ੍ޚͰ͖·͢
  10. 5XJMJP͕ఏڙ͢ΔαʔϏε

  11. 11 ENGAGEMENT CLOUD PROGRAMMABLE COMMUICATIONS CLOUD SUPER NETWORK Runtime Account

    Security Multi-channel Communications APIs AUTHY NOTIFY TASKROUTER PROG. SMS PROG. VOICE PROG. VIDEO PROG. CHAT PROG. FAX PHONE NUMBERS SHORT CODES SIP TRUNKING CHANNELS Global coverage Elastic capacity Network learning Instant provisioning Clean numbers FUNCTIONS DEBUGGER ASSETS USERS CREDENTIALS SYNC ADD-ONS PROXY FLOWS PROG. WIRELESS UNDERSTAND FRAMES Engagement Studio VERIFY LOOKUP Notifications Contact Center Mobile Workforce Developer
 Experience
  12. 12 ENGAGEMENT CLOUD PROGRAMMABLE COMMUICATIONS CLOUD SUPER NETWORK Runtime Account

    Security Multi-channel Communications APIs AUTHY NOTIFY TASKROUTER PROG. SMS PROG. VOICE PROG. VIDEO PROG. CHAT PROG. FAX PHONE NUMBERS SHORT CODES SIP TRUNKING CHANNELS Global coverage Elastic capacity Network learning Instant provisioning Clean numbers FUNCTIONS DEBUGGER ASSETS USERS CREDENTIALS SYNC ADD-ONS PROXY FLOWS PROG. WIRELESS UNDERSTAND FRAMES Engagement Studio VERIFY LOOKUP Notifications Contact Center Mobile Workforce Developer
 Experience
  13. Phone Numbers ೥݄ݱࡏɺੈքΧࠃͷ௨৴ࣄۀऀͱ઀ଓࡁΈɻ ͦΕͧΕͷࠃͷి࿩൪߸Λߪೖͨ͠Γɺͦͷ൪߸Λ࢖ͬͯి࿩Λ͔͚ͨ Γड͚ͨΓ͢Δ͜ͱ͕Մೳɻ ೔ຊࠃ಺Ͱ͸ɺ൪߸ʹՃ͑ͯɺϑϦʔμΠϠϧͷΛఏڙʢ ʹ͍ͭͯ͸ɺӦۀ΁໰͍߹Θͤʣɻ ͳ͓ɺ൪߸͸ֹ݄ԁʢ੫ࠐΈʣͰ͝ఏڙ͓ͯ͠Γ·͢ɻ

  14. SIP Trunking IP-PBX SIPαʔόʔ طଘͷ*11#9ͳͲ͔Βɺ5XJMJPͷωοτϫʔΫΛར༻ͯ͠ɺ೔ຊΛ࢝Ί ͱͯ͠ੈք֤ࠃʹి࿩͕͔͚ΒΕ·͢ɻ ൃ৴͸ԁ෼ʢࠃ಺ݻఆѼʣɺண৴͸ԁ෼ʢ൪߸Ѽʣ

  15. Channels /PUJGZ΍1309:Ͱར༻͕Մೳͱ ͳΔ֤छαʔϏε޲͚ͷίωΫγϣ ϯνϟωϧɻ ֤αʔϏεͱͷ઀ଓΛ؆ૉԽ͠ɺ αʔϏεΛҙࣝͤͣʹͦΕͧΕͷ αʔϏεͱͷϝοηʔδͷ΍Γऔ Γ͕ՄೳʹͳΔɻ

  16. 16 ENGAGEMENT CLOUD PROGRAMMABLE COMMUICATIONS CLOUD SUPER NETWORK Runtime Account

    Security Multi-channel Communications APIs AUTHY NOTIFY TASKROUTER PROG. SMS PROG. VOICE PROG. VIDEO PROG. CHAT PROG. FAX PHONE NUMBERS SHORT CODES SIP TRUNKING CHANNELS Global coverage Elastic capacity Network learning Instant provisioning Clean numbers FUNCTIONS DEBUGGER ASSETS USERS CREDENTIALS SYNC ADD-ONS PROXY FLOWS PROG. WIRELESS UNDERSTAND FRAMES Engagement Studio VERIFY LOOKUP Notifications Contact Center Mobile Workforce Developer
 Experience
  17. Programmable Voice 5XJ.-΍3FTU"1*Λ࢖ͬ ͯɺԻ੠௨࿩Λ࣮ݱ͠· ͢ɻ ϒϥ΢β΍εϚʔτϑΥ ϯ༻ͷ4%,΋͝༻ҙͯ͠ ͍·͢ɻ

  18. Programmable SMS 5XJ.-΍3FTU"1*Λ ࢖ͬͯɺ4.4ͷૹड ৴Λ࣮ݱ͠·͢ɻ େྔൃ৴ͳͲΛίϯ τϩʔϧ͢Δػೳɺ ߴ඼࣭4.4΋͝༻ҙ ͍ͯ͠·͢ɻ

  19. Programmable VIDEO ࠷େ໊·ͰͷϏ σΦ௨࿩ʹରԠ͠ ͍ͯ·͢ɻ࿥ը΋ Ͱ͖·͢ɻ

  20. Programmable Chat 8FC4PDLFU΍4PDLFU*0ͷ࣮૷͸ෆཁ ΦϑϥΠϯϝοηʔδϯάʹରԠ ϚϧνσόΠεʹ͓͚Δίϯςϯπಉظ '3".&4ʢσβΠϯπʔϧʣʹରԠ

  21. Programmable Wireless 5XJMJP͕ఏڙ͢Δ.7/0αʔϏεɻ 5XJMJP͔Β-5&ରԠͷ4*.ΧʔυΛߪೖ͢Δ͜ͱ͕
 Ͱ͖ɺ7PJDFɺ4.4ɺ%BUBɺ$PNNBOE͕ར༻Մೳ
 ʢ೔ຊͰ͸7PJDF4.4͸ະରԠʣɻ ೥݄ݱࡏɺ೔ຊΛؚΉҎ্ͷࠃͰࠃࡍϩʔϛϯάʹͯར༻͕ Մೳɻ 4*.͸ ԁʢຕύοΫɺૹྉࠐΈʣɺֹ݄جຊྉ͕ΞΫςΟϒ࣌

    ԁ4*.ɺαεϖϯυ࣌ԁ4*.ɻ
  22. Programmable FAX ൪߸Λ࢖ͬ ͨ'"9ͷૹड৴ ͕ɺ"1*ܦ༝Ͱ࣮ ߦͰ͖·͢ɻ ݱࡏૹड৴Մೳ ͳσʔλ͸1%' ͱ5*''Ͱ͢ɻ

  23. 23 ENGAGEMENT CLOUD PROGRAMMABLE COMMUICATIONS CLOUD SUPER NETWORK Runtime Account

    Security Multi-channel Communications APIs AUTHY NOTIFY TASKROUTER PROG. SMS PROG. VOICE PROG. VIDEO PROG. CHAT PROG. FAX PHONE NUMBERS SHORT CODES SIP TRUNKING CHANNELS Global coverage Elastic capacity Network learning Instant provisioning Clean numbers FUNCTIONS DEBUGGER ASSETS USERS CREDENTIALS SYNC ADD-ONS PROXY FLOWS PROG. WIRELESS UNDERSTAND FRAMES Engagement Studio VERIFY LOOKUP Notifications Contact Center Mobile Workforce Developer
 Experience
  24. © 2009 - 2014 Twilio, Inc. All rights reserved. FUNCTIONS

    5XJMJP͕ఏڙ͢ΔαʔόʔϨε࣮ߦ؀ڥɻ ݱࡏ͸/PEFKTͷΈαϙʔτɻ αʔόʔͷߏங΍ӡ༻͔Β։์͞Εɺίʔ υ͚ͩʹूத͢Δ͜ͱ͕Ͱ͖·͢ɻ OQNʹରԠ͍ͯ͠ΔͷͰɺ֎෦ͷϞ δϡʔϧΛར༻͢Δ͜ͱ΋Ͱ͖·͢ɻ ݄ʹ ճ·ͰͷΞΫηε͸ແྉɻ ֎෦͔ΒͷΞΫηεΛېࢭͤ͞Δ͜ͱ͕ Ͱ͖·͢ɻ
  25. © 2009 - 2014 Twilio, Inc. All rights reserved. ASSETS

    5XJMJP͕ఏڙ͢ΔίϯςϯπͷετϨʔ δˍެ։αʔϏεɻ ެ։͢Δ৔߹͸ɺ)5514ϕʔεͱͳΓɺ ݸʑͷϑΝΠϧ΁ͷϦϯΫ͕ੜ੒ɻඇ ެ։ͷ৔߹͸ɺ'VODUJPOT͔Βίʔυ Λ࢖ͬͯΞΫηεՄೳɻ ඇެ։ϑΝΠϧ͸.#ɺެ։ϑΝΠϧ ͸.#·ͰରԠɻ "1*Λ࢖ͬͨΞοϓϩʔυ͸Ͱ͖·ͤ Μɻ
  26. © 2009 - 2014 Twilio, Inc. All rights reserved. SYNC

    5XJMJP͕ఏڙ͢ΔϦΞϧλ ΠϜ௨৴༻ϓϥοτϑΥʔ Ϝɻ ϒϥ΢β΍ΞϓϦɺ*P5σ όΠεͳͲʹରͯ͠ɺ৘ใ Λ1VTIͨ͠Γɺ֤σόΠ εͰͦΕΛߪಡ͢Δ͜ͱ͕ Ͱ͖·͢ɻ
  27. 27 ENGAGEMENT CLOUD PROGRAMMABLE COMMUICATIONS CLOUD SUPER NETWORK Runtime Account

    Security Multi-channel Communications APIs AUTHY NOTIFY TASKROUTER PROG. SMS PROG. VOICE PROG. VIDEO PROG. CHAT PROG. FAX PHONE NUMBERS SHORT CODES SIP TRUNKING CHANNELS Global coverage Elastic capacity Network learning Instant provisioning Clean numbers FUNCTIONS DEBUGGER ASSETS USERS CREDENTIALS SYNC ADD-ONS PROXY FLOWS PROG. WIRELESS UNDERSTAND FRAMES Engagement Studio VERIFY LOOKUP Notifications Contact Center Mobile Workforce Developer
 Experience
  28. © 2009 - 2014 Twilio, Inc. All rights reserved. TWILIO

    STUDIO υϥοάΞϯυυϩοϓͰɺίʔ ϧϑϩʔ΍ϝοηʔδϯάϑϩʔ Λ࡞੒͢Δ͜ͱ͕Ͱ͖ΔσβΠ ϯπʔϧɻ ΢ΟδΣοτͱݺ͹ΕΔ෦඼Λ ૊Έ߹ΘͤΔ͜ͱͰɺ؆୯ʹ*73 γεςϜͳͲΛ࡞Δ͜ͱ͕Մೳ Ͱ͢ɻ
  29. Twilio x Watson

  30. Copyright (C) KDDI Web Communications Inc. All Rights Reserved 30

    Twilio Watson Speech to Text Text to Speech Natural Language Understanding Watson Assistant Language Translator Personality Insights Tone Analyzer Watson Studio Watson Machine Learning Watson Knowledge Catalog Discovery News Knowledge Studio Visual Recognition Voice SMS Chat Video Fax Studio Phone Numbers Elastic SIP Trunking Channels Wireless Proxy Authy TwilioͱWatson͸ɺଟ͘ͷ৔߹૬ޓ ิ׬ؔ܎ʹ͋Γ·͢ɻ
  31. Twilio x Watson Ϣʔεέʔε • Ի੠ೝࣝ • Voice RecordingɺTwilio ClientͷStream࿈ܞ

    • ը૾ೝࣝ • Twilio Videoͱ࿈ܞ • νϟοτϘοτ • SMS΍ChannelsɺProgrammable Chatͱ࿈ܞ • ձ࿩Ϙοτ • Programmable VoiceɺElastic SIP Trunkingͱͷ࿈ܞ
  32. ձ࿩Ϙοτͷύλʔϯ • IVRͷԆ௕ • DTMFͷ୅ΘΓʹԻ੠Λར༻ • ୹͍୯ޠͰͷԠ౴ • ୯७ͳจࣈྻ൑ఆϨϕϧ •

    νϟοτϘοτͷൃల • Ի੠ೝࣝͷਫ਼౓͕ॏཁ • ձ࿩Τϯδϯͷ࠾༻ • ਓ΁ͷεΠον Twilio Studioͷकඋൣғ Watsonͷकඋൣғ
  33. Twilio x WatsonʹΑΔձ࿩Ϙοτ Voice Agent STT Assistant TTS Elastic SIP

    Trunking Voice AgentΛར༻ͨ͠ύλʔϯ Gather Function Assistant Say Phone Numbers Twilio Studio Twilio StudioΛར༻ͨ͠ύλʔϯ
  34. Copyright (C) KDDI Web Communications Inc. All Rights Reserved 8BUTPO7PJDF"HFOUXJUI5XJMJPͷσϞ

    http://bit.ly/voiceagent-twilio
  35. Copyright (C) KDDI Web Communications Inc. All Rights Reserved 5XJMJPY8BUTPO"TTJTUBOUͷσϞ

  36. ·ͱΊ • Watson Voice AgentͱTwilio Elastic SIP Trunkͷ૊Έ߹Θͤ͸ͼͬ͘ Γ͢Δ΄Ͳ؆୯ʹ࣮૷ՄೳɻϓϥϯʹΑͬͯಉ࣌઀ଓ਺ͷ੍ݶ ͕͋ΔͷͰ஫ҙɻ

    • Twilio Programmable VoiceͱWatson Assistantͷ૊Έ߹Θͤ͸ɺ StudioΛ࢖ͬͨॊೈͳίʔϧϑϩʔ͕ັྗɻԻ੠ೝࣝͷύλʔϯ Ϛονϯάʹ޻෉͕ඞཁɻ • Ի੠ೝࣝ΍Ի੠߹੒͸ɺͦΕͧΕΤϯδϯ͕ҧ͏ͷͰɺ࣮ࡍͷ ؀ڥʹΑͬͯબ୒͢Δͷ͕Αͦ͞͏ɻ
  37. ࠓޙͷΠϕϯτ

  38. ࠓޙͷ༧ఆ 8/29 19:00 ⽔曜ワトソンカフェ @ 東京(ウィングアーク1st) 8/31 19:00 ONE JAPAN

    ハンズオン @ 名古屋(ブラザーミュージアム) 9/1 14:00 Twilio UG⻑野 ミートアップ Vol.1 @ ⻑野(GEEKLAB.NAGANO) 9/7 19:00 Twilio UG広島 ミートアップ Vol.1 @ 広島(デジハコ) 9/16-17 LINE BOOT AWARD ハッカソン @ ⼤阪(さくらインターネット) 9/21 13:00 Smart Communication Award 2018 @ 東京(JPタワー) 9/22-23 LINE BOOT AWARD ハッカソン @ 東京(LINE) 9/27 VoiceWorld Z @ 東京(ビズオーシャン)
  39. Copyright (C) KDDI Web Communications Inc. All Rights Reserved 39

  40. Copyright (C) KDDI Web Communications Inc. All Rights Reserved 40

  41. Fuel the future of communications.