Is the max temperature 1.0 or 2.0?

The GenerationConfig API page for Gemini API states that temperature ranges from 0.0 to 2.0. However, the page for google.generativeai.types.GenerationConfig states the max temperature is 1.0. I also see it listed as max 1.0 in the docstring in the Python SDK (v0.6.0).

Which is it, 1.0 or 2.0?

1 Like

2.0 for v1.5 models. 1.0 for v1.0 models and Gemma 2.

1 Like