Notes / Prompt Engineering

Back to Prompt Engineering chapters

Prompt Engineering · CHAPTER 1 OF 8

What a prompt controls

Topic explanation

A prompt is an instruction for a model, not a magic spell. What a prompt controls works best when the task, context and success criteria are explicit.

Step-by-step learning

  1. State the role or task, provide relevant context, define constraints and output format, test on a small example, then revise based on errors.

Important points

  • Never treat generated text as verified fact without checking important claims.

Tips & tricks

Array

Key terms: context · constraint · example · schema

Practical learning

Write three versions of one prompt and compare which output is easiest to review.

Questions & answers

What is the main purpose of What a prompt controls?

A prompt is an instruction for a model, not a magic spell. What a prompt controls works best when the task, context and success criteria are explicit. The purpose is to produce a useful, accurate result for the intended audience.

What is one common mistake to avoid?

A common mistake is skipping the checking step or using a feature without understanding the outcome.

Revision

Understand What a prompt controls and apply it in a small, observable task.