Add examples to a classification prompt.
Avoid instability from inconsistent or biased examples.
Choose two example practices.
Use consistent formats, labels, and representative boundary cases, and review source, privacy, quality, and ordering effects.
Detailed explanation
The intended rule and format are clearer.
The intended rule and format are clearer.
Example quality and leakage risk are governed.
Example quality and leakage risk are governed.
Negative and boundary behavior is under-specified.
Negative and boundary behavior is under-specified.
Prompts and logs can expose them.
Prompts and logs can expose them.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 2.2のプロンプト例示、入力管理、限界を確認する。Expected result
例示の内容と並び順が出力品質・安全性へ与える影響を評価できる。Key points
- Few-shot
- Boundary case
- Label quality
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.