chatgpt-on-wechat  by zhayujie

Chatbot for multiple messaging platforms using large language models

created 3 years ago
38,325 stars

Top 0.8% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a versatile AI chatbot that integrates with popular messaging platforms like WeChat, Lark, DingTalk, and Feishu. It supports multiple large language models (LLMs) including GPT-4o, Claude, Gemini, and various Chinese domestic models, enabling text, voice, and image processing, as well as custom knowledge base integration for enterprise applications.

How It Works

The system acts as a bridge between messaging platforms and LLMs. It processes incoming messages, routes them to the selected LLM via API calls, and handles responses. Key features include multi-turn conversation memory, voice recognition and synthesis using various engines (Whisper, Azure, Baidu), image generation and analysis (DALL-E 3, Stable Diffusion), and a plugin system for extending functionality like web browsing, document summarization, and role-playing.

Quick Start & Requirements

  • Install: bash <(curl -sS https://cdn.link-ai.tech/code/cow/install.sh) or pip3 install -r requirements.txt
  • Prerequisites: Python 3.7-3.9 recommended, OpenAI API Key (requires overseas network access and payment setup), or LinkAI API Key for domestic access and advanced features. Docker is also supported.
  • Setup: The quick start script automates installation. Configuration involves editing config.json.
  • Docs: Project Setup Documentation

Highlighted Details

  • Supports 10+ LLMs including GPT-4o, Claude 3.5, Gemini 1.5 Pro, Kimi, and domestic models like Wenxin and Xunfei.
  • Offers multi-modal capabilities: text, voice (recognition/synthesis), and image (generation/analysis).
  • Extensible plugin architecture for custom functionalities like web search, document summarization, and role-playing.
  • Enables custom enterprise AI applications via knowledge base integration.

Maintenance & Community

  • Active development with frequent updates (e.g., new models, channel support).
  • Community support via WeChat groups.
  • Enterprise services offered through LinkAI.

Licensing & Compatibility

  • MIT License.
  • Permitted for technical research and learning. Users must comply with local laws and regulations. Commercial use is subject to user responsibility.

Limitations & Caveats

  • OpenAI API access requires an overseas network connection and payment setup.
  • Python 3.10+ compatibility is uncertain on non-macOS systems.
  • The project disclaims responsibility for any consequences arising from its use.
Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
8
Star History
2,026 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.