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

Alexa Skill開発のポイント

Alexa Skill開発のポイント

JAWS-UG 関西女子会 2018/04

Hidetaka Okamoto

April 22, 2018
Tweet

More Decks by Hidetaka Okamoto

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • Digitalcube Co. Ltd. • WordCamp Kyoto 2017࣮ߦҕ һ௕

    • ྲྀ͠ͷJAWS-UGӡӦϝϯόʔ H i d e t a k a O k a m o t o
  2. AlexaͰͷձ࿩ͷ΍ΓͱΓʢࠨ͔Βӈ΁ʣ A u d i o C a p t

    u re A u d i o P l a y b a c k C a l l w e b A P I Ta l k s o m t h i n g R e s p o n c e S p e e c h t o Te x t Te x t t o S p e e c h
  3. Ի੠ <-> ςΩετͷม׵ A u d i o C a

    p t u re A u d i o P l a y b a c k C a l l w e b A P I Ta l k s o m t h i n g R e s p o n c e S p e e c h t o Te x t Te x t t o S p e e c h A l e x a S k i l l s K i t
  4. ม׵͞ΕͨςΩετͰ֎෦APIΛݺͼग़͢ A u d i o C a p t

    u re A u d i o P l a y b a c k C a l l w e b A P I Ta l k s o m t h i n g R e s p o n c e S p e e c h t o Te x t Te x t t o S p e e c h A l e x a S k i l l s K i t AW S L a m b d a w e b A P I
  5. ͦΕͧΕͰߟ͑Δ΂͖͜ͱ A u d i o C a p t

    u re A u d i o P l a y b a c k C a l l w e b A P I Ta l k s o m t h i n g R e s p o n c e S p e e c h t o Te x t Te x t t o S p e e c h A l e x a S k i l l s K i t - > Ի ੠ Λ Ͳ ͏ ม ׵ ͢ Δ ͔ AW S L a m b d a - > Ͳ ͏ σ ʔ λ Λ ॲ ཧ ͢ Δ ͔
  6. AlexaͷϦΫΤετॲཧϑϩʔʢEchoσόΠεʣ E c h o D e v i c

    e A u t o m a t i c S p e e c h R e c o g n i t i o n R e q u e s t h a n d l e r s AW S L a m b d a N a t u r a l L a n g u a g e U n d e r s t a n d i n g
  7. AVSΛར༻͢Δ৔߹ɺؒʹAVS API͕ೖΔ E c h o D e v i

    c e A u t o m a t i c S p e e c h R e c o g n i t i o n R e q u e s t h a n d l e r s AW S L a m b d a N a t u r a l L a n g u a g e U n d e r s t a n d i n g AV S A P I E c h o S i m . i o re v e r b . a i / R a s p i
  8. CLIπʔϧ͸ɺASRʢNLUʣΛলུͰ͖Δ E c h o D e v i c

    e A u t o m a t i c S p e e c h R e c o g n i t i o n R e q u e s t h a n d l e r s AW S L a m b d a N a t u r a l L a n g u a g e U n d e r s t a n d i n g AV S A P I A S K S M A P I S k i l l S i m u l a t i o n A P I S k i l l I n v o c a t i o n A P I A S K C L I E c h o S i m . i o re v e r b . a i / R a s p i
  9. ͲͷϨΠϠͷ࣮૷Λ͢Δ͔͚ͩ͸೺Ѳ͓ͯ͜͠͏ E c h o D e v i c

    e A u t o m a t i c S p e e c h R e c o g n i t i o n R e q u e s t h a n d l e r s AW S L a m b d a N a t u r a l L a n g u a g e U n d e r s t a n d i n g S e r v i c e S i m u l a t o r U n i t t e s t t o o l s AV S A P I A S K S M A P I S k i l l S i m u l a t i o n A P I S k i l l I n v o c a t i o n A P I U n i t t e s t S D K A S K C L I E c h o S i m . i o re v e r b . a i / R a s p i
  10. Alexa SkillͰ࡞Δ΋ͷ͸̎ͭ A u d i o C a p

    t u re A u d i o P l a y b a c k C a l l w e b A P I Ta l k s o m t h i n g R e s p o n c e S p e e c h t o Te x t Te x t t o S p e e c h A l e x a S k i l l s K i t - > Ի ੠ Λ Ͳ ͏ ม ׵ ͢ Δ ͔ AW S L a m b d a - > Ͳ ͏ σ ʔ λ Λ ॲ ཧ ͢ Δ ͔
  11. ʮԻ੠ΛͲ͏ม׵͢Δ͔ʯ͕࠷༏ઌ A u d i o C a p t

    u re A u d i o P l a y b a c k C a l l w e b A P I Ta l k s o m t h i n g R e s p o n c e S p e e c h t o Te x t Te x t t o S p e e c h A l e x a S k i l l s K i t - > Ի ੠ Λ Ͳ ͏ ม ׵ ͢ Δ ͔ ʮ Կ ͕ ͘Δ ͔ ʯ ͕ Θ ͔ Β ͳ ͍ ͱ ࣮ ૷ ʹ ೖ Ε ͳ ͍
  12. ͳͥStoryline / BlueprintΛ࢖͏΂͖͔ʁ • ର࿩Ϟσϧ͕μϝͳΒͦ΋ͦ΋࢖ΘΕͳ͍ • ࣮ࡍͷར༻γʔϯͰςετͯ͠ௐ੔͢΂͖ • ͦ΋ͦ΋ͦͷγʔϯͰԻ੠ΞϓϦ͸ඞཁ͔ʁ •

    ΋ࣗ͠෼͕ਓʹ͓ئ͍͢ΔͳΒͲ͏͍͏͔ʁ • ேٸ͍Ͱ͍Δ࣌ʹͦͷฦࣄ͸ΠϥΠϥ͠ͳ͍ʁ • ུশ΍ํݴΛΧόʔͰ͖͍ͯΔʁ • νΣοΫϦετͷʮϢʔβʔ͕εΩϧΛར༻͢Δͱ͜Ζ Λ؍࡯͠·͔ͨ͠ʁʯΛૉૣ࢝͘ΊΕΔ
  13. alexa-sdk / Lambda͸΋͏ཁΒͳ͍ͷʁ • ͦΜͳ͜ͱ͸ͳ͍ɻ • GUIͰܧଓతʹอक͍ͨ͠։ൃνʔϜ͕͍Ε͹ผ͔΋ • Storyline΍BlueprintͰɺର࿩ϞσϧΛ࡞Δ •

    ର࿩ϞσϧͱγφϦΦ͕͋Ε͹ɺςετέʔε͕࡞ΕΔ • JSONಡΊΕ͹ςετίʔυ΋͔͚Δ • ϞοΫ͔Β࡞Δͱɺޮ཰తʹ࣮૷ʹೖΔ͜ͱ͕Ͱ͖Δ
  14. ͍͖ͳΓ͜͏͸ͳΒͳ͍ h t t p s : / / b

    o k e t e . j p / b o k e / 3 7 0 2 2 9 7
  15. 2018-05-16ʢਫʣ19:00 - 21:00 • AWSॳ৺ऀ͕ϥδΦετϦʔϛϯάAlexaεΩϧΛ։ൃ Ͱ͖ͨ࿩ɻ(JAWS-UG ࿨Վࢁ Seiji Yamaguchi) •

    A4B ͰAlexa ձٞମݧΛɻ (JAWS-UG KOBE) • Chime ͱ Connect ͱ Alexaͱɻ(JAWS-UG େࡕ) • ΄͔̎ຊ