Large Language ModelsIntermediate4 August 2026
A team needs consistent and predictable answers from a language model for a structured classification task. Which adjustment is generally most appropriate?
Pick an answer to see the explanation.
Answer
Use a lower temperature and clearly define the allowed output values
A lower temperature generally reduces randomness, while clearly defined output values constrain the response format. This is useful for classification and other tasks where consistency matters. It still does not guarantee correctness, so outputs should be validated.
Learn more: Explore the AI Foundations roadmap →