LLM bot plugin for multi-platform model access and chat services
Top 86.0% on sourcepulse
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
npm install koishi-plugin-chatluna
or yarn add koishi-plugin-chatluna
.Highlighted Details
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.
5 days ago
1 day