Temperature Control
Temperature controls randomness. Lower values produce more deterministic outputs; higher values produce more variation and creative alternatives.
Intermediate Parameter tuning
When to use
Use it when matching model sampling behavior to the task, such as deterministic extraction, code generation, brainstorming, or creative writing.
Prompt example
Task: Apply Temperature Control to the user's request. Context: describe the input, constraints, target audience, and desired format. Instruction: be explicit, keep the output structured, and state any assumptions.
Output example
Structured answer based on the requested technique. Key result: the model follows the stated task and format. Notes: validate the output before using it in production.
Best practices
- Use low temperature for extraction and code.
- Use medium temperature for summaries and general writing.
- Use higher temperature for ideation.
- Track settings in prompt version records.
Common pitfalls
- Temperature 0 is not always perfectly deterministic.
- High temperature can increase factual errors.
- Different models react differently to the same value.