腾讯混元大模型
可用模型清单:https://cloud.tencent.com/document/product/1729/104753
import Agently
agent = (
Agently.create_agent()
.set_settings("current_model", "Hunyuan")
.set_settings("model.Hunyuan.auth", {
"secret_id": "<Your-Secret-ID>",
"secret_key": "<Your-Secret-Key>",
"endpoint": "<Your-EndPoint-If-Needed>",
})
# 如果需要切换模型,可参考模型清单: https://cloud.tencent.com/document/product/1729/104753
# 默认模型: hunyuan-standard
.set_settings("model.Hunyuan.options", { "model": "hunyuan-standard" })
)