Home

Awesome

ChatGPT BizWechat Bot

A BizWechat Bot that integrates with OpenAI's ChatGPT to provide answers. Ready to use with minimal configuration required. Based on acheong08/ChatGPT

基于 acheong08/ChatGPT 开发的企业微信聊天机器人

Attension

服务器的IP不能被BAN,我没有IP测试项目是否可用,请自行尝试

Features

ToDo Features

Prerequisites

Getting started

Install with Docker Compose

services:
  chatgpt:
    image: sheepgreen/chatgpt-wework
#   environment:
#     - CHATGPT_BASE_URL=ChatGPT代理地址,不填默认使用作者的地址,可能存在请求频率等限制
    volumes:
      - ./config.yaml:/wx-chatbot/config.yaml
    ports:
      - "8868:8868"
    restart: always

the bot url is http(s)://host:port/chat

Install from source

  1. Clone the repository and navigate to the project directory:
git clone https://github.com/slippersheepig/chatgpt-bizwechat-bot.git
cd chatgpt-bizwechat-bot
  1. Install dependencies
cd src && pip install -r requirements.txt
  1. Configuration File create config.yaml under src folder, it has two section, one for BizWechatBot, one for ChatGPT
wx-bot:
  Token: 
  EncodingAESKey: 
  CorpID: 
  SECRET: 
  agent_id: 
chatgpt: 
  email: 直接填邮箱,无需引号包含
  password: 直接填密码,无需引号包含
  1. Launch Application
python main.py
  1. Enjoy

the bot url is http(s)://host:port/chat

Credits

Disclaimer

This is a personal project and is not affiliated with OpenAI in any way.

Changlog