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
プロンプトエンジニアリング超入門
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tasogare_88
April 01, 2023
Technology
230
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
プロンプトエンジニアリング超入門
NKC-UGとIdeaxTechの合同LT会の時の登壇資料。
プロンプトエンジニアリングの基礎をまとめてみました。
tasogare_88
April 01, 2023
More Decks by tasogare_88
See All by tasogare_88
体系的に学ぶGit - 完全版
tasogare_88
0
230
自然言語処理の面白さ ~今だからこそ面白いNLPの話~
tasogare_88
1
130
体系的に学ぶGit
tasogare_88
1
180
26卒向けニックトレインLT登壇資料
tasogare_88
1
970
Other Decks in Technology
See All in Technology
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
1.2k
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
570
Databricks における 生成AIガバナンスの実践
taka_aki
1
350
AI Engineering Summit Tokyo 2026 AIの前に、やることがある 〜医療データ企業の4フェーズ〜
dtaniwaki
0
2.2k
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
260
新しいVibe Codingと”自走”について
watany
5
120
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
3k
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
3
220
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
260
BigQuery の Cross-cloud Lakehouse への歩み
phaya72
2
600
LLMと共に進化するプロセスを目指して
ymatsuwitter
12
3.6k
Claude Code×Terraform IaC テンプレート駆動開発
itouhi
1
440
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Abbi's Birthday
coloredviolet
2
8k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
190
Unsuck your backbone
ammeep
672
58k
Exploring anti-patterns in Rails
aemeredith
3
400
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Typedesign – Prime Four
hannesfritz
42
3.1k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.4k
Transcript
吉岡 宏樹 IdeaxTech プロンプト エンジニアリング 入門
画像生成AI 文章生成AI Generative AI (コンテンツ生成AI )
ChatGPT 使ってますか?
プロンプトエンジニアリングとは? プロンプトエンジニアリング(Prompt Engineering )は、AI 言 語モデルを用いた自然言語処理の手法の一つで、 「プロンプト」と呼ばれる指示文の形式をうまく設計して、AI モ デルの回答精度を向上させる技術。 モデルの訓練方法やデータによって、最適なプロンプト形式は
異なる。
普通に聞いた場合 プロンプトを工夫した場合 同じ質問内容
Open AI 公式からプロンプトエンジニアリングのベスト プラクティス(最良の事例)が出ている。 実は、
プロンプトエンジニアリング攻略法 国語力 と 少しのテクニック
最新モデルを使う ### または""" で指示文と文脈を区切る 具体的に詳細に記述する 例文を示す ZeroShot, FewShot, ファインチューニング 曖昧な表現を減らす
禁止事項だけでなく、代わりに何をすべきかを伝える 類推はステップごとに 1. 2. 3. 4. 5. 6. 7. 8. 8 つのパターン ※ スライドの関係上、chatGPT の回答は省略します。
最新モデルを使おう https://platform.openai.com/docs/models/overview
### または""" で指示文と文脈を区切る 効果が低い例✖︎ 効果的な例◦
具体的に詳細に記述する 効果が低い例✖︎ 効果的な例◦
例文を示す 効果が低い例✖︎
例文を示す 効果的な例◦
ZeroShot :事前知識や例を提供せずに司令を出す
FewShot :いくつかの例をあらかじめ提供する
曖昧な表現を減らす 効果が低い例✖︎ 効果的な例◦
禁止事項だけでなく、代わりに何をすべきかを伝える 効果が低い例✖︎ ChatGPT に判断を一任している
禁止事項だけでなく、代わりに何をすべきかを伝える 効果的な例◦
類推はステップごとに 間違った回答✖︎
類推はステップごとに
プロンプトエンジニアリングの手法は様々! In-context Learning (ICL) Chain-of Thought (CoT) Zero-shot CoT ReAct
Self-Consistency Program-aided Language Model (PAL) などなど
Thank you IdeaxTech 吉岡 宏樹