One prompt performs extraction, validation, and answer generation.
Isolate errors and sensitive actions.
Choose two designs.
Split extraction, validation, and generation into steps, validate each schema, minimize inter-step data, and authorize tools independently.
Detailed explanation
Sensitive propagation and privilege escalation are reduced.
Root cause and retry units disappear.
Errors and injections can cascade.
Quality and failures can be tracked per step.
Check official documentation
Compare the following points with the official documentation.
AWS公式AIF-C01 Domain 2.3のプロンプトチェーン、出力検証、生成AIセキュリティを確認する。
Official references
What to confirm
複数プロンプトの品質・権限・失敗を工程ごとに管理できる。
Key points
- Chaining
- Schema validation
- Authorization
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
Prompt chain
A workflow that connects multiple model calls or processing stages in sequence.
Schema validation
Checking that structured output has the required fields, types, and allowed values.