### Answer
LLM temperature controls the randomness of the response [(1) ](
) [(2) ](
) [(3) ](
) . The value ranges from 0 to 1 . A lower value means more deterministic output, while a higher value means more random output .
For function calling specifically, a lower temperature is recommended because it produces more consistent and predictable results . When the LLM needs to decide whether to call a function and what parameters to use, you want it to follow patterns reliably rather than introduce randomness that could lead to incorrect function calls or malformed parameters.
If the temperature is unset, the default value of 0 will apply .