官方 API 地址在这里 https://cloud.tencent.com/document/product/1729/97732
第一个槽点是请求参数签名,这一部分简直是噩梦,对开发者十分不友好,官方只提供了个 Python 的示例,其它语言只能自己去实现,也不清楚搞个这么复杂的签名的意义何在,在安全性方面起了什么作用,其它厂商大都是指定 AccessKey 和 Secret 就可以了。

第二个槽点是文档错误
错误 1

错误 2

错误 3

因为 AIdea 项目的服务端 mylxsw/aidea-server 是 Golang 开发的,所以各位 Go 爱好者们可以直接来抄作业啦,混元大模型的 Go 实现已经为你写好了,在这里看
https://github.com/mylxsw/aidea-server/tree/develop/internal/ai/tencentai
另外,关于 AIdea 项目,这里就不多介绍了,感兴趣的看这里