Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
なんてことない駅しりとりBotを作ったのでここで晒します / CogBot
Search
HikaruMaruyama
July 28, 2017
Programming
1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
なんてことない駅しりとりBotを作ったのでここで晒します / CogBot
HikaruMaruyama
July 28, 2017
More Decks by HikaruMaruyama
See All by HikaruMaruyama
OSS CMS「Drupal 10」 エッセンシャル:最新版でのWeb開発の魅力を探る #oscnagoya
hmaruyama
0
290
スタイリッシュでモダンな「Gin」管理テーマの紹介 #drupal_haneda
hmaruyama
0
330
DrupalのWeb Profiler #drupal_haneda
hmaruyama
0
410
非エンジニアから開発者まで!DrupalPodを使用したDrupal環境の作成
hmaruyama
1
390
Drupal認定試験にチャレンジしよう!アクイア認定プログラムのご紹介 / introduction of Acquia Drupal Certification Program
hmaruyama
0
1.1k
「Docker/Kubernetes実践コンテナ開発入門」学習のポイント #dockerbg / 20191108
hmaruyama
0
180
enebularでobnizを Lチカ してみた #enebular / 20181122
hmaruyama
0
620
駅すぱあとWebサービス連携ハンズオンパート ノンプログラミングでClovaスキルハンズオン&お茶会 #linebootawards #Clova_CEK / 20180919
hmaruyama
1
680
Agent Friends Xperia Ear Duoで誰でも コミュニケーションにコミット #linebootawards / 20180826
hmaruyama
0
150
Other Decks in Programming
See All in Programming
Jetpack Compose Mechanisms
skydoves
2
550
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
130
Workers Cache を知る
syumai
0
340
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
340
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
380
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
450
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
FreeBSDでZabbixを動かす
kenkino
0
360
R8 の設定見直しでアプリサイズ削減
andpad
0
190
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.2k
Heart of Swift Concurrency
koher
0
1.2k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
350
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
440
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Exploring anti-patterns in Rails
aemeredith
4
520
How to train your dragon (web standard)
notwaldorf
96
6.9k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
290
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
550
Evolving SEO for Evolving Search Engines
ryanjones
0
310
Design in an AI World
tapps
1
350
Producing Creativity
orderedlist
PRO
348
41k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
620
Transcript
ͳΜͯ͜ͱͳ͍ Ӻ͠ΓͱΓBotΛ࡞ͬͨͷͰ ͜͜Ͱࡽ͠·͢ 2017/7/28 ୈ7ճ Cogbot ษڧձ גࣜձࣾϰΝϧݚڀॴ ؙࢁͻ͔Δ
Profile ؙࢁ ͻ͔Δ גࣜձࣾϰΝϧݚڀॴ ςΫχΧϧΤόϯδΣϦετ ਆಸݝ૬ݪࢢࡏॅ ͖ͳݴ༿৯ϥʔϝϯ IJLBSVNBSVZBNB NBSVZBNBIJBLSV IUUQIJJJJJJJIJLBSVIBUFOBEJBSZDPN
ࠓͷɿ Ӻ͠ΓͱΓBotΛ࡞ͬͯΈͨͷͰ ͜͜Ͱࡽ͠·͢ʂ ·͔͞Γେܴ
࡞ͬͨͷ
͜ΜͳӺ ग़ΔΜͩͥʙ
ߏཁૉ • ։ൃڥ • macOS Sierra • Bot։ൃπʔϧ • Microsoft
Bot Framework • Bot Framework Channel Emulator • ݴޠ • Node.js • Ӻσʔλ • Ӻ͢ͺ͋ͱWebαʔϏε(WebAPI)
Ռ GithubʹΞοϓ͠·ͨ͠ʂ https://github.com/hmaruyama/eki- siritori-bot
2࣌ؒ͘Β͍Ͱग़དྷͨ̇ ΤίγεςϜ͍̇͢͝ ※ಥ؏ࣄͷͨΊɺ৭ʑΛͭͿΓͨ͘ͳΔ࣮͕…
αΫοͱͰ͖ΔͱࢥͬͨΒ ͳΜ͔ͩΜͩϋϚΓ·ͨ͠
αϯϓϧBotΛ࡞Δͱ͜ΖͰϋϚͬͨ • ΤϛϡϨʔλͰϝοηʔδΛૹ৴ͨ͠Βྫ֎ൃੜ • ?? 503Τϥʔ͕ى͖ͯΔͱͳ… • ϒϥβͰURLΛୟ͍ͯ200͕ฦΔ • ??
• curlίϚϯυͰurlΛୟ͍ͯΈͨΒϓϩΩγΤϥʔ ൃੜ ←͜Εͩʂ • ϓϩΩγઃఆΛղআ͠αϯϓϧBot͕ಈ͘Α͏ʹ
APIϦΫΤετͰϋϚͬͨ • Ӻ͢ͺ͋ͱwebαʔϏεͷӺใAPIʹͯɺ໊લ ߜΓࠐΈͰϦΫΤετΛୟ͍ͯߜΓࠐΈ͕ޮ͔ ͣӺ͕શ݅ฦ͖ͬͯͯ͠·͏ • ?? ੜͨ͠URLΛݟͯΈͯɺਖ਼͍͠͠… • ৭ʑࢼͯ͠ΈͨΒɺຊޠϦΫΤετͰ͓͔͘͠
ͳͬͯΔ͜ͱ͕ൃ֮ʢΤϯίʔυͯ͠ͳ͔ͬͨʣ • ΤϯίʔυॲཧΛՃͯ͠ɺӺͷߜΓࠐΈ͕Ͱ͖ ΔΑ͏ʹ
͍͜͠ͱ ԿҰͭͯ͠ͳ͍Μ͚ͩͲ ͱ͜ΖͲ͜ΖϋϚͬͨorz
ೋͭͷϋϚΓͲ͜Ζɺ ࢥ͍ฦͯ͠ΈΕॳาతͳϛεɻ ͰҰਓͰ࣮ͯ͠Δͱ σόοάਏ͘ͳ͍Ͱ͔͢ʁ
࡞ͬͯΔ࣌ʹɺؾܰʹ୭͔ ʹฉ͚Δڥ͕͋Εɾɾ
ɾɾɾ
͋ͬ ϋϯζΦϯͱ͔ྑͦ͞͏
ͱ͍͏͜ͱͰ(?)ɺ Ӻ͢ͺ͋ͱWebαʔϏε × Microsoft Bot Framework ΛͬͨϋϯζΦϯΛΓ͍ͨͱࢥ͍·̇͢ 9݄͘Β͍ʹͰ͖ͨΒ͍͍ͳʂ
Thank you!