GithubHelp home page GithubHelp logo

wechatbot's Introduction

wechatbot

最近chatGPT异常火爆,本项目可以将个人微信化身GPT机器人, 项目基于openwechat 开发。

Release Github stars Forks

目前实现了以下功能

  • 提问增加上下文,更接近官网效果
  • 机器人群聊@回复
  • 机器人私聊回复
  • 好友添加自动通过

使用前提

  • 目前只支持在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秒,单位秒,在会话时间内所有发送给机器人的信息会作为上下文。

使用示例

向机器人发送我要问下一个问题,清空会话信息。

私聊

群聊@回复

添加微信(备注: wechabot)进群交流

如果二维码图片没显示出来,请添加微信号 huangyanming681925

wechatbot's People

Contributors

869413421 avatar malaohu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.