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
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
760
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
130
転んだ話が背中を預ける理由になる / A_story_about_falling_down_gives_you_a_reason_to_watch_each_other_s_backs.pdf
pauli
3
280
Meet AgentCore Identity Consent Portal
hironobuiga
3
190
20260930_Gemma4_Hands-on
tsho
0
230
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
850
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
0
270
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
0
120
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
440
ミイダス株式会社 テックチームのご紹介 / MIIDAS Tech Team
miidas
0
160
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
4
1.1k
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
150
Featured
See All Featured
The Curse of the Amulet
leimatthew05
3
15k
A better future with KSS
kneath
240
18k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
570
Making the Leap to Tech Lead
cromwellryan
135
10k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
A designer walks into a library…
pauljervisheath
211
25k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Designing for Performance
lara
611
70k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
700
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 吉岡 宏樹