chatluna  by ChatLunaLab

LLM bot plugin for multi-platform model access and chat services

created 2 years ago
320 stars

Top 86.0% on sourcepulse

GitHubView on GitHub
Project Summary

ChatLuna is a highly extensible plugin for the Koishi chatbot framework, designed to integrate with a wide array of large language models (LLMs) and platforms. It offers advanced features like custom conversation presets, multi-format output (text, voice, image), context awareness, and various interaction modes, catering to developers and power users seeking a flexible LLM chat solution.

How It Works

The plugin leverages the Koishi API and LangChain for its extensibility, allowing seamless integration of diverse LLM providers. It supports multiple interaction modes: chat, browsing, and plugin execution. Output can be formatted as text, voice (via TTS integration), or rendered images, with features like rate limiting, blacklisting, and content moderation through Koishi's services.

Quick Start & Requirements

Highlighted Details

  • Supports numerous LLM providers including OpenAI, Azure OpenAI, Google Gemini, Claude API, Deepseek, Tongyi Qianwen, Zhipu, Xunfei Spark, Wenxin Yiyan, Hunyuan, Ollama, GPT Free, ChatGLM, and RWKV.
  • Offers network search capabilities via Google, Bing, DuckDuckGo, and Tavily.
  • Features a customizable preset system using YAML configuration files for defining chatbot personalities.
  • Includes a rate limiting and blacklisting system for managing user interactions.

Maintenance & Community

The project is in version 1.0 (slow development, preparing v2). Community support is available via Telegram and QQ groups. Contributions are welcomed, particularly for project documentation and a potential Web UI.

Licensing & Compatibility

The project is developed by ChatLunaLab. It requires users to obtain their own AI service API access. Users must comply with local laws and regulations regarding AI service usage. The project itself does not store information and is not responsible for generated content or misuse.

Limitations & Caveats

The project is in a slow development phase, with v2 preparation underway. Some features like a Web UI and HTTP Server are listed as TODOs. While Koishi supports hot module replacement (HMR), full compatibility with this project's HMR might not be guaranteed, potentially requiring full rebuilds and restarts for development.

Health Check
Last commit

5 days ago

Responsiveness

1 day

Pull Requests (30d)
13
Issues (30d)
4
Star History
31 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.9%
13k
IM bot platform for the LLM era
created 2 years ago
updated 5 days ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

chathub by chathub-dev

0.1%
10k
All-in-one chatbot client
created 2 years ago
updated 4 months ago
Feedback? Help us improve.