Launching soon — get early access:
Technical

Temperature

Definition

A parameter that controls the randomness and creativity of AI model outputs during text generation.

In-Depth Explanation

Temperature scales the probability distribution over possible next tokens. Lower values (0-0.3) make output more deterministic and focused, while higher values (0.7-1.0) increase diversity and creativity. Temperature 0 always picks the most likely token, while temperature 1+ produces more varied outputs.

Real-World Example

Setting temperature to 0.2 for code generation ensures consistent, predictable outputs, while 0.8 works better for creative writing.

3 views0 found helpful