45.4 It works once but not reliably

Overview and links for this section of the guide.

Temperature

If your prompt works 8/10 times, your temperature is too high. - **Code/JSON:** Temp = 0.0 or 0.1. - **Creative Writing:** Temp = 0.7.

Sampling Bias

Some prompts are "fragile." A slight change in phrasing breaks them. Fix: Use few-shot examples. They stabilize the model's understanding of the task.

Where to go next