Prompting

How to actually instruct a model, what does and doesn't change the way it responds, and what belongs in its context at all.

  • Few-Shot Prompting — includes a few worked examples in the prompt itself, showing a model the pattern to follow instead of only describing it.
  • Prompt Engineering — is writing and structuring instructions clearly enough for a model to do a task reliably — not finding the right magic phrase.
  • System Prompt — sets a model's role, tone, and rules for a whole session, written by the application before any conversation starts.

Comparisons