Content
[Translation failed]
<div align=center>
<img width=200 src="https://bot.snowy.moe/logo.png" alt="image"/>
<h1 align="center">MuiceBot</h1>
<p align="center">Muice-Chatbot 的 NoneBot2 实现</p>
</div>
<div align=center>
<a href="#关于️"><img src="https://img.shields.io/github/stars/Moemu/MuiceBot" alt="Stars"></a>
<a href="https://pypi.org/project/MuiceBot/"><img src="https://img.shields.io/pypi/v/Muicebot" alt="PyPI Version"></a>
<a href="https://pypi.org/project/MuiceBot/"><img src="https://img.shields.io/pypi/dm/Muicebot" alt="PyPI Downloads" ></a>
<a href="https://nonebot.dev/"><img src="https://img.shields.io/badge/nonebot-2-red" alt="nonebot2"></a>
<a href="#"><img src="https://img.shields.io/badge/Code%20Style-Black-121110.svg" alt="codestyle"></a>
</div>
<div align=center>
<a href="#"><img src="https://wakatime.com/badge/user/637d5886-8b47-4b82-9264-3b3b9d6add67/project/a4557f7b-4d26-4105-842a-7a783cbad588.svg" alt="wakatime"></a>
<a href="https://www.modelscope.cn/datasets/Moemuu/Muice-Dataset"><img src="https://img.shields.io/badge/ModelScope-Dataset-644cfd?link=https://www.modelscope.cn/datasets/Moemuu/Muice-Dataset" alt="ModelScope"></a>
</div>
<div align=center>
<a href="https://bot.snowy.moe">📃使用文档</a>
<a href="https://bot.snowy.moe/guide/setup.html">✨快速开始</a>
<a href="https://github.com/MuikaAI/Muicebot-Plugins-Index">🧩插件商店</a>
</div>
*本项目目前处于慢更新状态,目前只进行 Bug 修复/接受外部 PR 的活动,暂无进行其他功能性开发的计划*
[Translation failed]
# 介绍✨
> 我们认为,AI的创造应该是为了帮助人类更好的解决问题而不是产生问题。因此,我们注重大语言模型解决实际问题的能力,如果沐雪系列项目不能帮助我们解决日常、情感类的问题,沐雪的存在就是毫无意义可言。
> *———— 《沐雪系列模型评测标准》*
Muicebot 是基于 Nonebot2 框架实现的 LLM 聊天机器人,旨在解决现实问题。通过 Muicebot ,你可以在主流聊天平台(如 QQ)获得只有在网页中才能获得的聊天体验。
Muicebot 内置两个分别名为沐雪和沐妮卡的聊天人设(人设是可选的)以便优化对话体验。有关沐雪和沐妮卡的设定,还请移步 [关于沐雪](https://bot.snowy.moe/about/Muice)
[Translation failed]
# 功能🪄
✅ 内嵌多种模型加载器,如[OpenAI](https://platform.openai.com/docs/overview) 和 [Ollama](https://ollama.com/) ,可加载市面上大多数的模型服务或本地模型,支持多模态(图片识别)和工具调用。另外还附送只会计算 3.9 > 3.11 的沐雪 Roleplay 微调模型一枚~
✅ 使用 `nonebot_plugin_alconna` 作为通用信息接口,支持市面上的大多数适配器。对部分适配器做了特殊优化
✅ 支持基于 `nonebot_plugin_apscheduler` 的定时任务,可定时向大语言模型交互或直接发送信息
✅ 支持基于 `nonebot_plugin_alconna` 的几条常见指令。
✅ 基于 `nonebot-plugin-orm>=0.7.7` 提供的 ORM 层保存对话数据。那有人就要问了:Maintainer,Maintainer,能不能实现长期短期记忆、LangChain、FairSeq 这些记忆优化啊。~~以后会有的(~~
✅ 使用 Jinja2 动态生成人设提示词
✅ 支持调用 MCP 服务(支持 stdio、SSE 和 Streamable HTTP 传输方式)
[Translation failed]
# 模型加载器适配情况
| 模型加载器 | 流式对话 | 多模态输入/输出 | 推理模型调用 | 工具调用 | 联网搜索 |
| ----------- | -------- | -------------- | ------------ | -------------------- | -------------------- |
| `Azure` | ✅ | 🎶🖼️/❌ | ⭕ | ✅ | ❌ |
| `Dashscope` | ✅ | 🎶🖼️/❌ | ✅ | ⭕ | ✅ |
| `Gemini` | ✅ | ✅/🖼️ | ⭕ | ✅ | ✅ |
| `Ollama` | ✅ | 🖼️/❌ | ✅ | ✅ | ❌ |
| `Openai` | ✅ | ✅/🎶 | ✅ | ✅ | ❌ |
✅:表示此加载器能很好地支持该功能并且 `MuiceBot` 已实现
⭕:表示此加载器虽支持该功能,但使用时可能遇到问题
🚧:表示此加载器虽然支持该功能,但 `MuiceBot` 未实现或正在实现中
❓:表示 Maintainer 暂不清楚此加载器是否支持此项功能,可能需要进一步翻阅文档和检查源码
❌:表示此加载器不支持该功能
多模态标记:🎶表示音频;🎞️ 表示视频;🖼️ 表示图像;📄表示文件;✅ 表示完全支持
[Translation failed]
# 本项目适合谁?
- 拥有编写过 Python 程序经验的开发者
- 搭建过 Nonebot 项目的 bot 爱好者
- 想要随时随地和大语言模型交互并寻找着能够同时兼容市面上绝大多数 SDK 的机器人框架的 AI 爱好者
~~# TODO📝~~
~~近期更新路线:[MuiceBot 更新计划](https://github.com/users/Moemu/projects/2)~~
[Translation failed]
# 使用教程💻
参考 [使用文档](https://bot.snowy.moe)
[Translation failed]
# 插件商店🧩
[MuikaAI/Muicebot-Plugins-Index](https://github.com/MuikaAI/Muicebot-Plugins-Index)
[Translation failed]
# 关于🎗️
大模型输出结果将按**原样**提供,由于提示注入攻击等复杂的原因,模型有可能输出有害内容。无论模型输出结果如何,模型输出结果都无法代表开发者的观点和立场。对于此项目可能间接引发的任何后果(包括但不限于机器人账号封禁),本项目所有开发者均不承担任何责任。
本项目基于 [BSD 3](https://github.com/Moemu/nonebot-plugin-muice/blob/main/LICENSE) 许可证提供,涉及到再分发时请保留许可文件的副本。
本项目标识使用了 [nonebot/nonebot2](https://github.com/nonebot/nonebot2) 和 画师 [Nakkar](https://www.pixiv.net/users/28246124) [Pixiv作品](https://www.pixiv.net/artworks/101063891) 的资产或作品。如有侵权,请及时与我们联系
BSD 3 许可证同样适用于沐雪的系统提示词,沐雪的文字人设或人设图在 [CC BY NC 3.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.zh-hans) 许可证条款下提供。
此项目中基于或参考了部分开源项目的实现,在这里一并表示感谢:
- [nonebot/nonebot2](https://github.com/nonebot/nonebot2) 本项目使用的机器人框架
- [@botuniverse](https://github.com/botuniverse) 负责制定 Onebot 标准的组织
感谢各位开发者的协助,可以说没有你们就没有沐雪的今天:
<a href="https://github.com/eryajf/Moemu/MuiceBot/contributors">
<img src="https://contrib.rocks/image?repo=Moemu/MuiceBot" alt="图片加载中..."/>
</a>
友情链接:[LiteyukiStudio/nonebot-plugin-marshoai](https://github.com/LiteyukiStudio/nonebot-plugin-marshoai)
本项目隶属于 MuikaAI
基于 OneBot V11 的原始实现:[Moemu/Muice-Chatbot](https://github.com/Moemu/Muice-Chatbot)
<a href="https://www.afdian.com/a/Moemu" target="_blank"><img src="https://pic1.afdiancdn.com/static/img/welcome/button-sponsorme.png" alt="afadian" style="height: 45px !important;width: 163px !important;"></a>
<a href="https://www.buymeacoffee.com/Moemu" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 45px !important;width: 163px !important;" ></a>
Star History:
[](https://star-history.com/#Moemu/MuiceBot&Date)
Connection Info
You Might Also Like
Git
A Model Context Protocol server for Git automation and interaction.
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.
repomix
Repomix packages your codebase into AI-friendly formats for easy integration.
Mastra
Mastra is a framework for building AI-powered applications and agents.
oh-my-opencode
Background agents · Curated agents like oracle, librarians, frontend...
Blender
BlenderMCP integrates Blender with Claude AI for enhanced 3D modeling.