引言
很久没有更新了,主要还是上了高中之后学业繁重没有时间了,加上也没怎么做过项目,发博客也就没什么意义了。
这次我又是在b站刷到的,一个接入了chatgpt的微信机器人,
github地址:https://github.com/lich0821/WeChatRobot
这是我成功的一个实例,微信号:CxyRobot(没有挂到服务器上不能实现24小时在线)
踩坑实录
首先
我犯了一个大忌,我没有好好看文档导致微信版本错乱,报错提醒是
LoadLibrary调用失败,错误码:5
我在这里思索了很久,最后还是问了一圈才发现自己下错了,我真是傻逼。
然后
就是chatgpt的接入环节,我本来是不想用gpt想用科大星火的,但是因为找不到ft最终向gpt妥协了。
这个部署起来还是很简单的,效果也很好非常适合新手,基本不会犯错除非你跟我一样sb.
我这个也谈不上什么教程,最多也就是给你们提个醒。