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
なぜ私たちは「生成AI-LT大会」を終了するのか / Why we are ending the Generative AI-LT competition
yayoi_dd
0
17
AIと働く / Working with AI
yayoi_dd
0
38
AIで未経験タスクの心理的ハードルが下がった話 / How AI has lowered the psychological barrier to unfamiliar tasks
yayoi_dd
0
14
品質くん~電話応対品質をAIで診断してる件~ / Quality-kun: Using AI to assess telephone response quality
yayoi_dd
0
14
20251218_AIを活用した開発生産性向上の全社的な取り組みの進め方について / How to proceed with company-wide initiatives to improve development productivity using AI
yayoi_dd
0
830
2025-12-18_AI駆動開発推進プロジェクト運営について / AIDD-Promotion project management
yayoi_dd
0
180
“お客さま視点”を手に入れろ!! / Get the Customer’s Perspective!!
yayoi_dd
0
120
プロジェクト改善、まずは“ネタ出しの文化”から / Improving Projects Starts with a Culture of Idea Generation
yayoi_dd
0
120
使いにくい仕様を改善した件 / How We Improved a Difficult-to-Use Feature
yayoi_dd
0
140
Other Decks in Technology
See All in Technology
Data Hubグループ 紹介資料
sansan33
PRO
0
2.5k
1万人を変え日本を変える!!多層構造型ふりかえりの大規模組織変革 / 20260108 Kazuki Mori
shift_evolve
PRO
4
580
モノタロウ x クリエーションラインで実現する チームトポロジーにおける プラットフォームチーム・ ストリームアラインドチームの 効果的なコラボレーション
creationline
0
280
re:Invent2025 セッションレポ ~Spec-driven development with Kiro~
nrinetcom
PRO
2
170
歴史から学ぶ、Goのメモリ管理基礎
logica0419
7
1.6k
ルネサンス開発者を育てる 1on1支援AIエージェント
yusukeshimizu
0
130
ハッカソンから社内プロダクトへ AIエージェント ko☆shi 開発で学んだ4つの重要要素
leveragestech
0
530
RALGO : AIを組織に組み込む方法 -アルゴリズム中心組織設計- #RSGT2026 / RALGO: How to Integrate AI into an Organization – Algorithm-Centric Organizational Design
kyonmm
PRO
3
440
ESXi のAIOps だ!2025冬
unnowataru
0
470
AI with TiDD
shiraji
1
330
純粋なイミュータブルモデルを設計してからイベントソーシングと組み合わせるDeciderの実践方法の紹介 /Introducing Decider Pattern with Event Sourcing
tomohisa
1
130
投資戦略を量産せよ 2 - マケデコセミナー(2025/12/26)
gamella
0
590
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
84
Exploring anti-patterns in Rails
aemeredith
2
220
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
110
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
200
Are puppies a ranking factor?
jonoalderson
0
2.6k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
38
Why Our Code Smells
bkeepers
PRO
340
58k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
エンジニアに許された特別な時間の終わり
watany
106
220k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
140
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