New York Site views —Page views —
← All series

Prompt engineering

Design instructions, choose examples, separate message roles and version prompts.

Reading order

  1. What changes when you tune a prompt?
  2. Writing few-shot examples that guide the model accurately
  3. Dividing responsibilities among system, developer and user messages
  4. Versioning prompts like code