First extract key points from a customer email, then draft a reply from those points.
Validate each stage instead of using one giant prompt.
Choose two benefits.
Prompt chaining splits complex work into verifiable steps and allows different formats and constraints at each step.
Detailed explanation
Each stage has a clear purpose and output that can be inspected.
Each stage has a clear purpose and output that can be inspected.
Extraction and generation can use different instructions and safety policies.
Extraction and generation can use different instructions and safety policies.
Errors can propagate between stages and still require validation.
Errors can propagate between stages and still require validation.
Data minimization and access control remain necessary.
Data minimization and access control remain necessary.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01ガイドDomain 2.3のプロンプト設計とワークフローの説明を確認する。Expected result
段階分割の検証可能性と、誤り伝播・データ保護の注意点を説明できる。Key points
- Decomposition
- Validation
- Error propagation
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.