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
JSONataとAWS Step Functionsで目指すRuntimelessな世界
mu7889yoon
1
510
Amazon Bedrock Agents ClassicからAmazon Bedrock AgentCoreへ移行した際、ガードレール設定が2箇所に割れた話
matsunobu
0
110
Datadog で始める トークンセーフティなAI 導⼊と定着
vkbaba
1
100
AIエージェント時代のPlatform as a Product —— テックリードがPdMとして回す発見・導入・計測 / Platform as a Product in the AI Agent Era
toshi0607
0
190
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
370
ほんとうの信頼性はヒーローが死んでからはじまる / True reliability begins after the hero dies
vtryo
0
120
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
32
32k
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
1
870
人にやさしく、AIにやさしく、書き手を選ばないIaCのガードレール再考 / Rethinking IaC Guardrails for Humans and AI Alike
kohbis
5
1.2k
LLMに渡さなかった仕事
nanaism
0
12k
Goodbye ShellScript, Hello File-based App
shunsock
0
1.1k
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
3.1k
Featured
See All Featured
Visualization
eitanlees
153
17k
Typedesign – Prime Four
hannesfritz
42
3.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Being A Developer After 40
akosma
91
590k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
740
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
520
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
Unsuck your backbone
ammeep
672
58k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
540
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
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 吉岡 宏樹