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
950
Go言語入門
akane256
0
550
Cloud Vision API × Go言語で画像認識やってみました
akane256
0
290
Featured
See All Featured
ラッコキーワード サービス紹介資料
rakko
1
5M
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Between Models and Reality
mayunak
4
470
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
590
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
Typedesign – Prime Four
hannesfritz
42
3.2k
Six Lessons from altMBA
skipperchong
29
4.5k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
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アプリっぽく作ってみたい
ご静聴ありがとうございました