Temperature

Temperature is a sampling parameter that controls output randomness by scaling the model’s logits before decoding. Lower temperatures yield more deterministic outputs, often preferred for extraction and code generation; higher temperatures increase creativity but can raise hallucination and formatting errors. Temperature interacts with prompt design: strong constraints and schemas can allow moderate temperatures while maintaining structure, whereas weak prompts may require near-zero temperature to be usable. In LLM Prompt Mining, you benchmark prompt templates across temperatures to find stable operating points. PromptMining.com(TM) supports Mining Prompts with parameter sweeps so teams can quantify quality, variance, and cost across decoding regimes.
Related
Related
View all- Vector Database A vector database stores embeddings and supports nearest-neighbor search to retrieve semantically similar chunks. It is the backbone of many …
- Prompt Mining Prompt mining is the systematic discovery of high-performing prompt patterns by searching large corpora of natural language instructions, …
- Structured Outputs (JSON Schema) Structured outputs require the model to emit machine-parseable data-often JSON-matching an explicit schema (fields, types, allowed enums). …
- Function Calling Function calling is a capability where the LLM outputs a structured “call” describing which function/tool to invoke and with …
- Prompt Optimization Prompt optimization is the iterative process of improving prompts to increase quality, reliability, and efficiency. Optimization may involve …

