chatgpt-for-chatbot-feishu  by whatwewant

Chatbot integration for Feishu using OpenAI

created 2 years ago
323 stars

Top 85.3% on sourcepulse

GitHubView on GitHub
Project Summary

This project integrates ChatGPT with Feishu (Lark), enabling it to function as a personal or enterprise assistant. It targets users who want to leverage AI-powered conversational capabilities within their Feishu workspace, offering features like text and image generation, long conversation support, and group chat integration.

How It Works

The system connects to Feishu via its bot API and utilizes OpenAI's official GPT-3 interfaces for natural language processing. It supports various deployment methods, including a one-click installer, binary, and Docker Compose, abstracting away much of the complexity of setting up the integration. The architecture is built on the Go-Zoox framework, facilitating extensibility and integration with existing enterprise applications.

Quick Start & Requirements

  • One-click Install: curl -fsSL https://raw.githubusercontent.com/zmicro-design/service-chatgpt-for-chatbot-feishu/master/install -o /tmp/install.sh && bash /tmp/install.sh
  • Prerequisites: Feishu App ID/Secret, OpenAI API Key. Docker is recommended for ease of deployment.
  • Setup: The one-click installer automates dependency installation.
  • Docs: Feishu Open Platform Documentation

Highlighted Details

  • Supports text and image generation via OpenAI.
  • Enables long conversations with automatic context tracking.
  • Offers both private and group chat functionalities, including @ mentions.
  • Allows customization of OpenAI models, language, and context messages.

Maintenance & Community

The project is actively maintained, with recent updates addressing event encryption, verification tokens, and custom context/language settings. Community interaction is encouraged via the "更多交流" section in the README.

Licensing & Compatibility

  • License: MIT
  • Compatibility: The MIT license permits commercial use and linking with closed-source applications.

Limitations & Caveats

The project relies on external services (Feishu and OpenAI) and requires a public network address for Feishu event subscriptions, which can be achieved through tunneling services like cpolar or ngrok. Some advanced features, like administrator commands, require specific environment variable configurations.

Health Check
Last commit

5 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

LangBot by langbot-app

0.8%
13k
IM bot platform for the LLM era
created 2 years ago
updated 7 hours ago
Feedback? Help us improve.