GPT3 integration for WeCom (Weixin Work)
Top 80.3% on sourcepulse
This project provides a ChatGPT integration for Enterprise WeChat, enabling multi-turn conversations through a dedicated bot. It's designed for users who want to leverage advanced AI chat capabilities within their existing WeChat work environment.
How It Works
The system acts as a bridge between Enterprise WeChat and the OpenAI API. It manages conversation history, allowing for context-aware, multi-turn dialogues, a feature not present in OpenAI's basic CreateCompletion
interface. The architecture supports various databases (MySQL, SQLite, PostgreSQL) for session management.
Quick Start & Requirements
conf/chatgpt.conf
, and then use make dockerenv
to build the Docker image.docker run -it -d --name chatgpt --restart=always -v $(pwd)/conf/chatgpt.conf:/home/works/program/conf/chatgpt.conf -p 0.0.0.0:8000:8000 chatgpt-wecom:0.1.1
docker compose up -d
./chatgpt-wecom -conf=conf/chatgpt.conf
corp_id
, corp_secret
, agent_id
, encoding_aes_key
from Enterprise WeChat, and an OpenAI API Key.Highlighted Details
Maintenance & Community
Recent changelog entries indicate active development, including the addition of Makefiles, Docker Compose support for MySQL, and fixes for prompt length issues and database migration.
Licensing & Compatibility
The repository does not explicitly state a license. Users should verify compatibility for commercial or closed-source use.
Limitations & Caveats
The project does not specify a license, which may impact commercial adoption. Users deploying with MySQL or PostgreSQL must manually create the database before application startup.
2 years ago
1 day