Fetch the repository succeeded.
This action will force synchronization from malaohu/wechatbot, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
最近chatGPT异常火爆,本项目可以将个人微信化身GPT机器人, 项目基于openwechat 开发。
目前只支持在windows上运行因为需要弹窗扫码登录微信,后续会支持linux已支持- 有openai账号,并且创建好api_key,注册事项可以参考此文章 。
- 微信必须实名认证。
- 项目仅供娱乐,滥用可能有微信封禁的风险,请勿用于商业用途。
- 请注意收发敏感信息,本项目不做信息过滤。
非技术人员请直接下载release中的压缩包 ,解压运行。
# 获取项目
git clone https://github.com/869413421/wechatbot.git
# 进入项目目录
cd wechatbot
# 复制配置文件
copy config.dev.json config.json
# 启动项目
go run main.go
{
"api_key": "your api key",
"auto_pass": true,
"session_timeout": 60
}
api_key:openai api_key
auto_pass:是否自动通过好友添加
session_timeout:会话超时时间,默认60秒,单位秒,在会话时间内所有发送给机器人的信息会作为上下文。
我要问下一个问题
,清空会话信息。如果二维码图片没显示出来,请添加微信号 huangyanming681925
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。