Temperature affects the randomness of responses. A lower value (like 0.2) makes the output more focused and deterministic. A higher value (like 1.0 or 1.5) makes the output more creative and diverse.