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
660
JavaScriptでチャットCLIツール作成
コマンドラインでチャットするシブい機能を作りました
akane
July 20, 2017
Tweet
Share
More Decks by akane
See All by akane
未経験エンジニアがエンジニアリングマネージャーになるまで
akane256
1
920
Go言語入門
akane256
0
530
Cloud Vision API × Go言語で画像認識やってみました
akane256
0
260
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Side Projects
sachag
455
43k
Practical Orchestrator
shlominoach
190
11k
Documentation Writing (for coders)
carmenintech
74
5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Docker and Python
trallard
45
3.6k
Building Adaptive Systems
keathley
43
2.7k
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アプリっぽく作ってみたい
ご静聴ありがとうございました