Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScriptでチャットCLIツール作成
Search
akane
July 20, 2017
1
650
JavaScriptでチャットCLIツール作成
コマンドラインでチャットするシブい機能を作りました
akane
July 20, 2017
Tweet
Share
More Decks by akane
See All by akane
未経験エンジニアがエンジニアリングマネージャーになるまで
akane256
1
910
Go言語入門
akane256
0
530
Cloud Vision API × Go言語で画像認識やってみました
akane256
0
260
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
We Have a Design System, Now What?
morganepeng
53
7.7k
GitHub's CSS Performance
jonrohan
1031
460k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
How STYLIGHT went responsive
nonsquared
100
5.6k
It's Worth the Effort
3n
185
28k
Fireside Chat
paigeccino
37
3.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
950
Practical Orchestrator
shlominoach
188
11k
The Language of Interfaces
destraynor
158
25k
How GitHub (no longer) Works
holman
314
140k
Transcript
Javascriptで チャットCLIツール作成 @akane_256
自己紹介 はじめまして Twitter: @akane_256 普段はPHPメイン、JSちょっとのサーバーサイドエンジニア 趣味でGolangを勉強したりしています
もくじ 1. チャットCLIツールを作った背景 2. 利用したサービス 3. デモ 4. 作ってみた感想
チャットCLIツールを作った背景 チャットボット流行ってる(?)し、なにか作ってみたい →テキストに応じて、返答をカスタマイズするの大変… →同じ意味でも、違う言い回しがたくさんあって大変… Google I/Oの報告会でAPI.AIのプレゼンを聞く →便利そう、Node.jsのSDKもある、まず動くものを作ろう
利用したサービス API.AI • Siriのような自然言語で会話できるボットを作れるサービス • 2016年9月にGoogleに買収された • 完全無料 • 言い回しのゆらぎを吸収してくれる
デモ https://github.com/akane256/node_api.ai_practice
作ってみた感想 • API.AIの使い方が最初わからない • サンプルコードがあるので、JavaScriptが少しわかれば簡単 • 次はCLIじゃなくてWebアプリっぽく作ってみたい
ご静聴ありがとうございました