Google Quietly Deprecates Temperature, Top-P and Top-K Controls in Gemini API
Google has deprecated three key sampling parameters — temperature, top_p, and top_k — in its latest Gemini API models. These parameters, which developers previously used to control the randomness and creativity of AI-generated outputs, are now silently ignored when passed to the API. The change was noted in Google's official Gemini API documentation for its latest models. Developers relying on these controls for fine-tuned output behavior may need to revisit their implementations. The update has drawn attention from the developer community, raising questions about transparency and backward compatibility.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in