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
ChatGPT APIを使ったツール作成日記 / Diary of tool creation...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yayoi_dd
July 18, 2024
Technology
1
2.9k
ChatGPT APIを使ったツール作成日記 / Diary of tool creation using ChatGPT API
弥生株式会社 もくテク
AIを活用した業務効率化 ~ChatGPT導入事例集~(2024/07/18)
https://mokuteku.connpass.com/event/322629/
yayoi_dd
July 18, 2024
Tweet
Share
More Decks by yayoi_dd
See All by yayoi_dd
なぜ私たちは「生成AI-LT大会」を終了するのか / Why we are ending the Generative AI-LT competition
yayoi_dd
0
34
AIと働く / Working with AI
yayoi_dd
0
43
AIで未経験タスクの心理的ハードルが下がった話 / How AI has lowered the psychological barrier to unfamiliar tasks
yayoi_dd
0
19
品質くん~電話応対品質をAIで診断してる件~ / Quality-kun: Using AI to assess telephone response quality
yayoi_dd
0
20
20251218_AIを活用した開発生産性向上の全社的な取り組みの進め方について / How to proceed with company-wide initiatives to improve development productivity using AI
yayoi_dd
0
870
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
190
“お客さま視点”を手に入れろ!! / Get the Customer’s Perspective!!
yayoi_dd
0
130
プロジェクト改善、まずは“ネタ出しの文化”から / Improving Projects Starts with a Culture of Idea Generation
yayoi_dd
0
130
使いにくい仕様を改善した件 / How We Improved a Difficult-to-Use Feature
yayoi_dd
0
140
Other Decks in Technology
See All in Technology
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
1
100
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
260
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
1.7k
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
410
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
630
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
2
1.7k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
1.8k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
300
MySQLのJSON機能の活用術
ikomachi226
0
140
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
170
Code Review Best Practice
trishagee
74
20k
How to Ace a Technical Interview
jacobian
281
24k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Are puppies a ranking factor?
jonoalderson
1
2.7k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
630
Designing Powerful Visuals for Engaging Learning
tmiket
0
210
Game over? The fight for quality and originality in the time of robots
wayneb77
1
100
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Producing Creativity
orderedlist
PRO
348
40k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
76
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
89
Transcript
ChatGPT APIを使ったツール作成日記 開発本部 縞居伸一
便利なChatGPT • 一方で、煩わしい点もある • プロンプトの準備が必要 • ChatGPTにログインが 必要 • 回答を指定の場所へ保
存 • 情報漏洩のリスク • ChatGPT APIを使うことで、 それらの煩わしい点を解決し、 業務効率化に貢献できない か
ChatGPT APIを始めるために必要なこと ①APIキーの取得 ②支払方法の設定(API使用料金支払の設定) • APIは従量課金制 • 支払上限額や閾値の設定も推奨
APIキーの取得手順 1.OpenAIアカウント作成後、アカウントにログイン https://platform.openai.com/login 2.ログイン後、以下で支払方法の設定 2.1:メニューの「Setting」>「Billing」のページを開く 2.2:「Payment methods」で支払方法の登録 2.3:登録後、「Add to credit
balance」で金額をチャージする 3.上記課金後、以下でAPIキーを取得 3.1:メニューの「Dashboard」>「API Keys」のページを開く 3.2:「Create new secret key」でAPIキーを作成
開発環境準備 ①Pythonのインストール →公式HP(https://www.python.org/downloads/)でダウンロード ②Visual Studio codeのインストール →公式HP(https://code.visualstudio.com/download/)でダウンロード ③PIPのインストール →コマンドプロンプトで「py –m
pip install pypdf2」と入力 ④OpenAIライブラリのインストール →コマンドプロンプトで「py –m pip install --upgrade openai 」と入力
コードを作成
APIを使って、さら にできること • ワークフロー作成 • WEBアプリとして公開 • Flaskとhtml • Lineのボットに組み込
む
最後に… ★超重要: ChatGPTに個人情報や機密情報を入力しないようにしましょう 情報漏洩を防ぐために ・法人向けChatGPT Enterpriseを契約 ・「Chat History & Training」の設定をオフ
・ChatGPT APIを利用する 参考(OpenAIのページ):https://help.openai.com/en/articles/5722486-how-your-data-is- used-to-improve-model-performance