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.7k
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
“お客さま視点”を手に入れろ!! / Get the Customer’s Perspective!!
yayoi_dd
0
82
プロジェクト改善、まずは“ネタ出しの文化”から / Improving Projects Starts with a Culture of Idea Generation
yayoi_dd
0
79
使いにくい仕様を改善した件 / How We Improved a Difficult-to-Use Feature
yayoi_dd
0
76
弥生のQAエンジニア 品質保証活動と今後の課題 / Yayoi QA engineers, Quality assurance activities and future challenges
yayoi_dd
0
110
【弥生】20250130_AWSマルチアカウント運用セミナー登壇資料
yayoi_dd
2
3.2k
Amazon OpenSearchのコスト最適化とZeroETLへの期待 / Amazon OpenSearch Cost Optimization and ZeroETL Expectations
yayoi_dd
1
86
フロントエンドとバックエンド非同期連携パターンのセッションを見てきた話 / Talk about seeing a session on front-end and back-end asynchronous coordination patterns
yayoi_dd
0
79
reInventで学んだWebシステム運用のBadDayへの備え方 / How to Prepare for BadDay in Web System Operations Learned at reInvent
yayoi_dd
0
60
AWS reInventで感じた世界に見る生成AIの競争 / Competition in Generative AI as Seen Around the World at AWS reInvent
yayoi_dd
0
71
Other Decks in Technology
See All in Technology
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
140
M3 Expressiveの思想に迫る
chnotchy
0
110
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
5
3k
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
120
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
9
1.1k
急成長を支える基盤作り〜地道な改善からコツコツと〜 #cre_meetup
stefafafan
0
120
変化する開発、進化する体系時代に適応するソフトウェアエンジニアの知識と考え方(JaSST'25 Kansai)
mizunori
1
220
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
6
2.3k
生成AIでwebアプリケーションを作ってみた
tajimon
2
150
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
3
1.7k
Agentic Workflowという選択肢を考える
tkikuchi1002
1
510
Clineを含めたAIエージェントを 大規模組織に導入し、投資対効果を考える / Introducing AI agents into your organization
i35_267
4
1.6k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Language of Interfaces
destraynor
158
25k
4 Signs Your Business is Dying
shpigford
184
22k
RailsConf 2023
tenderlove
30
1.1k
How GitHub (no longer) Works
holman
314
140k
The Pragmatic Product Professional
lauravandoore
35
6.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
Speed Design
sergeychernyshev
32
1k
How to Ace a Technical Interview
jacobian
277
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Designing for humans not robots
tammielis
253
25k
Optimizing for Happiness
mojombo
379
70k
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