AI Glossary
Temperature
The dial that controls AI creativity vs. consistency
Definition
Temperature is a parameter that controls how "random" or "creative" a language model's outputs are. At temperature 0, the model always picks the most likely next token (deterministic). At higher temperatures (e.g., 1.0), it samples more randomly, leading to more diverse but potentially less accurate outputs. Most APIs expose temperature as a configurable parameter.