Prompting

System prompts that survive long sessions

Every team writes a careful system prompt and forgets it. The model follows it for the first few tur ...

Temperature and top-p: tuning when the answer matters more than novelty

Temperature and top-p are the two sampling parameters every team adjusts and almost none tune system ...

Few-shot examples: choose them like you choose unit tests

A prompt with five well-chosen examples beats the same model with fifty mediocre ones, almost every ...

Mastering prompt engineering for production use

Lorem ipsum dolor sit amet consectetur adipisicing elit. Production prompts have very different fail ...

Chain-of-thought prompting that holds up under pressure

Chain-of-thought prompting is the easiest reasoning trick to ship and the hardest to keep working. T ...