A WeChat chatbot powered by Azure OpenAI GPT models.
├── __pycache__
├── templates
├── bot.py # Main implementation - v0.2
├── config_handler.py
├── LICENSE.txt
├── models.py
├── README.md
├── requirements.txt
├── webot.ico
├── webot-win 0.1.7z # .exe v0.1
└── webot-win 0.2.7z # .exe v0.2
Special thanks to the original authors of deepseek_project for providing the foundation that made this project possible. This chatbot is modified and enhanced based on their work.
Students can get free Azure credits at Azure for Students to access Azure OpenAI services.
You can install all required packages using:
pip install -r requirements.txt
Updates from v0.1:
- Custom Azure OpenAI API configuration
- Customizable chat settings
- Automatic config.json generation
- Removed built-in Azure OpenAI API
Initial release with GPT-4o (requires WeChat Pay activation)
- WeChat message monitoring and auto-reply through ItChat
- Azure OpenAI integration for response generation
- User style learning and mimicking
- Web control panel for configuration
- Local data storage for chat history and user styles
- Run
webot.exe - Scan QR code (in command line or
QR.png) - Wait for web login
- Open control panel, select user, enable auto-reply
chat_history.db: Chat recordsQR.png: Login QR codeuser_styles.json: User stylesconfig.json: Program settings (v0.2)
- WeBot Cannot reply to group messages
- v0.1 API limits: 100,000 tokens/min, 600 requests/min
- If you encounter the issue
Log in time out, reloading QR code, please refer to itchat QR Code Timeout Solution (CSDN Blog)
MIT License - see LICENSE file for details.