AWS Certified AI Practitioner

Prompt Engineering Best Practices

The concrete habits that turn a vague prompt into a reliable one: be specific, place the instruction well, use separators, give a fallback answer, and say what you do not want.

Intermediate 16 minutes 4 Learning Objectives
  1. Apply the clarity rules: simple, specific instructions with an explicit output format
  2. Explain why the instruction belongs at the end and why separators help
  3. Use a default fallback answer to reduce confident wrong answers
  4. Distinguish a negative prompt from a role from an output indicator