temperature property

double? temperature
getter/setter pair

Controls the randomness of the output.

A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0].

Optional.

Implementation

core.double? temperature;