演習 › 全問
問題 Q5-03
60 / 106分野5・LLMの基礎
まだ解いていません。
要約の出力の形式(見出しの付け方や箇条書きの書き方)が毎回ばらつく。指示の文はすでに詳しく書いてある。次に試すべき最も効果的な方法はどれか。
正解は D
- A強調しても、望む形式の具体像は伝わりません。
- Bばらつきがむしろ増えます。
- Cさらに不安定になります。
- D正解です。例は、形式・口調・構成を導く最も確実な方法の1つで、3〜5個が良いとされています。
考え方:形式を安定させるならマルチショット。
出典:Prompting best practices
Examples are one of the most reliable ways to steer Claude’s output format, tone, and structure.https://platform.claude.com/docs/en/build-with-claude/prompt-engineeri…(取得 2026-11-17)
出典:Prompting best practices
Include 3–5 examples for best results.https://platform.claude.com/docs/en/build-with-claude/prompt-engineeri…(取得 2026-11-17)