Ask a generative model to draft product explanations.
Keep the audience and output format consistent.
Which is an appropriate prompt-engineering improvement?
Stating the goal, audience, constraints, and output format makes the expected result clearer.
Detailed explanation
Concrete requirements make the requested result easier for the model to follow.
Insufficient context makes the output difficult to control.
Only necessary data should be supplied with proper protection.
Generated output can be wrong or unsafe and should be checked.
Check official documentation
Compare the following points with the official documentation.
AWS公式AIF-C01ガイドのDomain 2.1で、prompt engineeringの基本要素を確認する。
Official references
What to confirm
曖昧な依頼を、目的・制約・出力形式を含むプロンプトへ改善できる。
Key points
- Goal
- Constraints
- Output format
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Compare the definition with the AIF-C01 objective and the service documentation before applying it.
- Keep the concept separate from a particular answer choice or implementation step.
Foundation review
Explicit contract
Separating instructions from input and output requirements reduces ambiguity and variation.
Privacy boundary
Unneeded personal or confidential data should not be sent to the model just because it is available.