google / langfun

OO for LLMs
Apache License 2.0
122 stars 18 forks source link

Support None as `temperature` and use it as default. #171

Closed copybara-service[bot] closed 5 months ago

copybara-service[bot] commented 5 months ago

Support None as temperature and use it as default.

In this past, we set 0.0 as the default value for temperature, which is not ideal for practical use cases. In this CL, we add support of None and set it as the default to opt in the model's default behavior.