Tutorials · Learn by making

Tutorials

Practical AI and prompt engineering tutorials for real workflows.

Tutorial series

Prompt Engineering Guide

Start with the genie-in-a-lamp analogy to understand Prompt Engineering and why clearer requests give a model less room to guess.

Start with the introduction ↗

9 chapters · Learn in order

  1. What Is Prompt Engineering?
  2. Your First Conversation
  3. What Is a Token?
  4. Probability, Sampling, and Temperature
  5. Six Ways to Get Better Output
  6. Structured Prompt Templates and Techniques
  7. Ask the Model to Output JSON
  8. Using XML Tags Well
  9. Complex Tasks: Decomposition, Calculation, and Validation