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
JavaScriptでチャットCLIツール作成
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
akane
July 20, 2017
710
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScriptでチャットCLIツール作成
コマンドラインでチャットするシブい機能を作りました
akane
July 20, 2017
More Decks by akane
See All by akane
未経験エンジニアがエンジニアリングマネージャーになるまで
akane256
1
960
Go言語入門
akane256
0
550
Cloud Vision API × Go言語で画像認識やってみました
akane256
0
290
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Mind Mapping
helmedeiros
1
400
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
The Curious Case for Waylosing
cassininazir
1
570
A better future with KSS
kneath
240
18k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Building the Perfect Custom Keyboard
takai
2
910
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
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アプリっぽく作ってみたい
ご静聴ありがとうございました