Gemini last models: temperature, top_p, and top_k are deprecated and ignored
dev_tools
Google's latest Gemini models have deprecated three sampling parameters—temperature, top_p, and top_k—which the API will now ignore, according to updated documentation. Developers using these controls will need to adjust their code.
Source: https://ai.google.dev/gemini-api/docs/latest-model
Listen to this story
Hear this and more stories in a personalized audio briefing.
Open The Chonkerton