← Using AI well

Give examples and constraints

Show what you like, and set the rules.

Start this lesson

Two more tools make prompts sharper. Examples show the AI what "good" looks like: paste a sample of the style you want, or show one finished item and ask for more like it. Constraints set limits: what to include, what to avoid, word counts, reading level, budget, or "only use the text I pasted". Constraints are especially useful for keeping the AI on track and stopping it from adding things you didn't ask for.

Write 5 more quiz questions in the same style as this one:
  Q: A shirt costs $20 and is 10% off. What is the sale price? A: $18
Rules: whole-dollar answers only, everyday shopping situations, no trick questions.

The example sets the style and difficulty; the rules keep every question in bounds.

"Use only the information below" is a helpful constraint when you paste a document. It reduces (but doesn't remove) the chance of invented details.

If the AI keeps doing something you don't want, add it as a rule: "Don't use emojis."