Skip to main content
image

MuiceBot

Muice-Chatbot 的 NoneBot2 实现

Stars PyPI Version PyPI Downloads nonebot2 codestyle
wakatime ModelScope

本项目目前处于慢更新状态,目前只进行 Bug 修复/接受外部 PR 的活动,暂无进行其他功能性开发的计划

介绍✨

我们认为,AI的创造应该是为了帮助人类更好的解决问题而不是产生问题。因此,我们注重大语言模型解决实际问题的能力,如果沐雪系列项目不能帮助我们解决日常、情感类的问题,沐雪的存在就是毫无意义可言。 ———— 《沐雪系列模型评测标准》

Muicebot 是基于 Nonebot2 框架实现的 LLM 聊天机器人,旨在解决现实问题。通过 Muicebot ,你可以在主流聊天平台(如 QQ)获得只有在网页中才能获得的聊天体验。

Muicebot 内置两个分别名为沐雪和沐妮卡的聊天人设(人设是可选的)以便优化对话体验。有关沐雪和沐妮卡的设定,还请移步 关于沐雪

功能🪄

✅ 内嵌多种模型加载器,如OpenAI 和 Ollama ,可加载市面上大多数的模型服务或本地模型,支持多模态(图片识别)和工具调用。另外还附送只会计算 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 传输方式)

模型加载器适配情况

模型加载器 流式对话 多模态输入/输出 推理模型调用 工具调用 联网搜索
Azure ✅ 🎶🖼️/❌ ⭕ ✅ ❌
Dashscope ✅ 🎶🖼️/❌ ✅ ⭕ ✅
Gemini ✅ ✅/🖼️ ⭕ ✅ ✅
Ollama ✅ 🖼️/❌ ✅ ✅ ❌
Openai ✅ ✅/🎶 ✅ ✅ ❌

✅:表示此加载器能很好地支持该功能并且 MuiceBot 已实现

⭕:表示此加载器虽支持该功能,但使用时可能遇到问题

🚧:表示此加载器虽然支持该功能,但 MuiceBot 未实现或正在实现中

❓:表示 Maintainer 暂不清楚此加载器是否支持此项功能,可能需要进一步翻阅文档和检查源码

❌:表示此加载器不支持该功能

多模态标记:🎶表示音频;🎞️ 表示视频;🖼️ 表示图像;📄表示文件;✅ 表示完全支持

本项目适合谁?

  • 拥有编写过 Python 程序经验的开发者

  • 搭建过 Nonebot 项目的 bot 爱好者

  • 想要随时随地和大语言模型交互并寻找着能够同时兼容市面上绝大多数 SDK 的机器人框架的 AI 爱好者

# TODO📝

近期更新路线:MuiceBot 更新计划

使用教程💻

参考 使用文档

插件商店🧩

MuikaAI/Muicebot-Plugins-Index

关于🎗️

大模型输出结果将按原样提供,由于提示注入攻击等复杂的原因,模型有可能输出有害内容。无论模型输出结果如何,模型输出结果都无法代表开发者的观点和立场。对于此项目可能间接引发的任何后果(包括但不限于机器人账号封禁),本项目所有开发者均不承担任何责任。

本项目基于 BSD 3 许可证提供,涉及到再分发时请保留许可文件的副本。

本项目标识使用了 nonebot/nonebot2 和 画师 Nakkar Pixiv作品 的资产或作品。如有侵权,请及时与我们联系

BSD 3 许可证同样适用于沐雪的系统提示词,沐雪的文字人设或人设图在 CC BY NC 3.0 许可证条款下提供。

此项目中基于或参考了部分开源项目的实现,在这里一并表示感谢:

感谢各位开发者的协助,可以说没有你们就没有沐雪的今天:

图片加载中...

友情链接:LiteyukiStudio/nonebot-plugin-marshoai

本项目隶属于 MuikaAI

基于 OneBot V11 的原始实现:Moemu/Muice-Chatbot

afadian Buy Me A Coffee

Star History:

Star History Chart

Metadata

Release files for MuiceBot 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MuiceBot 1.1.5
File Size Uploaded
muicebot-1.1.5.tar.gz 72.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MuiceBot 1.1.5
File Interpreter ABI Platform
muicebot-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 172.3 kB

Release files / muicebot-1.1.5.tar.gz

Download URL muicebot-1.1.5.tar.gz
Size 72.8 kB
Tags Source
SHA-256 checksum
How to use checksums
05db7ad1b61e1f19edaefeea5b5f2d68a608773491362d05e6e412535375b386
BLAKE2b-256 checksum
How to use checksums
f71ff89da364e17a16f562ba26ac8a5814252d8f222384be0437637addec34f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.11.14 Linux/6.14.0-1017-azure

Release files / muicebot-1.1.5-py3-none-any.whl

Download URL muicebot-1.1.5-py3-none-any.whl
Size 99.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e91141488fe090ef710a52d1abd657483937d6256401009175d060490628852a
BLAKE2b-256 checksum
How to use checksums
6c18ee4936f1a768b1f38226edc3d1b8a8b44fa635b3dafc72c738755a500b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.11.14 Linux/6.14.0-1017-azure

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page