chatgpt-on-wechat  by zhayujie

Chatbot for multiple messaging platforms using large language models

Created 3 years ago
40,528 stars

Top 0.7% 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

2 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
3
Star History
561 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Yaowei Zheng Yaowei Zheng(Author of LLaMA-Factory).

AstrBot by AstrBotDevs

1.1%
15k
LLM chatbot/framework for multiple platforms
Created 3 years ago
Updated 10 hours ago
Feedback? Help us improve.