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
380
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
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
290
App Intentsのビルドプロセスを支える技術
kntkymt
0
470
Are APIs Still Relevant in the AI Era?
soyuka
0
340
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
330
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
2.4k
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.2k
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
590
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
390
Verilogで学ぶCPU自作入門.pdf
uyuki234
8
3.7k
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.5k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
Large-scale JavaScript Application Architecture
addyosmani
515
110k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
WENDY [Excerpt]
tessaabrams
14
39k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
890
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
How to Talk to Developers About Accessibility
jct
2
560
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!