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
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
OpenSearch Warm Tier設計の実践 / Practical Implementation of OpenSearch Warm Tier Design
yayoi_dd
0
26
なぜ私たちは「生成AI-LT大会」を終了するのか / Why we are ending the Generative AI-LT competition
yayoi_dd
0
58
AIと働く / Working with AI
yayoi_dd
0
61
AIで未経験タスクの心理的ハードルが下がった話 / How AI has lowered the psychological barrier to unfamiliar tasks
yayoi_dd
0
37
品質くん~電話応対品質をAIで診断してる件~ / Quality-kun: Using AI to assess telephone response quality
yayoi_dd
0
36
20251218_AIを活用した開発生産性向上の全社的な取り組みの進め方について / How to proceed with company-wide initiatives to improve development productivity using AI
yayoi_dd
0
910
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
210
“お客さま視点”を手に入れろ!! / Get the Customer’s Perspective!!
yayoi_dd
0
140
プロジェクト改善、まずは“ネタ出しの文化”から / Improving Projects Starts with a Culture of Idea Generation
yayoi_dd
0
130
Other Decks in Technology
See All in Technology
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
3
280
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.2k
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
200
DevOpsエージェントで実現する!! AWS Well-Architected(W-A) を実現するシステム設計 / 20260307 Masaki Okuda
shift_evolve
PRO
3
630
JAWS FESTA 2025でリリースしたほぼリアルタイム文字起こし/翻訳機能の構成について
naoki8408
1
380
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
1.7k
IBM Bobを使って、PostgreSQLのToDoアプリをDb2へ変換してみよう/202603_Dojo_Bob
mayumihirano
1
320
聲の形にみるアクセシビリティ
tomokusaba
0
170
作りっぱなしで終わらせない! 価値を出し続ける AI エージェントのための「信頼性」設計 / Designing Reliability for AI Agents that Deliver Continuous Value
aoto
PRO
2
280
Yahoo!ショッピングのレコメンデーション・システムにおけるML実践の一例
lycorptech_jp
PRO
1
200
JAWS DAYS 2026 ExaWizards_20260307
exawizards
0
420
Shifting from MCP to Skills / ベストプラクティスの変遷を辿る
yamanoku
4
810
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Practical Orchestrator
shlominoach
191
11k
Designing for Timeless Needs
cassininazir
0
160
Bash Introduction
62gerente
615
210k
ラッコキーワード サービス紹介資料
rakko
1
2.6M
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
130
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
100
Six Lessons from altMBA
skipperchong
29
4.2k
Odyssey Design
rkendrick25
PRO
2
540
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Ruling the World: When Life Gets Gamed
codingconduct
0
170
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