Gemini latest models: temperature, top_p, and top_k are deprecated and ignored
ai.google.dev原文 ↗
Google 文档说明,Gemini 最新模型会忽略请求中的 `temperature`、`top_p` 和 `top_k`,这些参数已弃用。对依赖采样参数调节稳定性或多样性的应用,这不是普通兼容性提示,而是行为控制接口发生变化。迁移测试应以真实输出分布为准,不能假设旧参数仍在暗中生效。
–浏览
评论 · Comments