Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
プロンプトエンジニアリング超入門
Search
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
240
自然言語処理の面白さ ~今だからこそ面白いNLPの話~
tasogare_88
1
160
体系的に学ぶGit
tasogare_88
1
180
26卒向けニックトレインLT登壇資料
tasogare_88
1
1k
Other Decks in Technology
See All in Technology
Deep Data Security 機能解説
oracle4engineer
PRO
2
720
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
410
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
3
4.6k
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
190
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
270
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.4k
おそらく日本で唯一のDevRelインターン生として
husengs7
0
170
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
2
430
分析AIエージェントを育てる、動く環境を育てる
codatum
0
260
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
250
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
320
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
550
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
My Coaching Mixtape
mlcsv
0
340
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Building Adaptive Systems
keathley
44
3.2k
Claude Code のすすめ
schroneko
67
230k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
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 吉岡 宏樹