舞萌DX B50数据分析 NoneBot2 插件,支持锐评文本和分析图生成
Project description
nonebot-plugin-b50-analysis
舞萌DX B50 数据分析 NoneBot2 插件。从水鱼查分器拉取用户数据,调用 LLM 生成锐评文本并渲染分析图。
安装
nb install nonebot-plugin-b50-analysis
# 或
pip install nonebot-plugin-b50-analysis
必需: assets 资源包:
# 下载并解压到任意目录,然后在 .env 中配置 B50_ASSETS_PATH
curl -O http://dw.moant.cn:34274/assets.zip
unzip assets.zip -d /path/to/assets
配置
在项目的 .env 或 .env.prod 或env.dev中添加以下变量:
# 必填:OpenAI 兼容 API 的 base URL(末尾不带斜杠)
B50_LLM_URL=https://api.openai.com/v1
# 必填:API Key
B50_LLM_KEY=sk-xxxxxxxxxxxxxxxx
# 可选:模型名称,默认 gemini-3-flash-preview
B50_LLM_MODEL=gemini-3-flash-preview
# 必填:assets 目录路径(含字体、图标、peer_stats.zip、cover)
B50_ASSETS_PATH=/path/to/assets
# 必填:使用次数 0为无限
B50_DAILY_LIMIT=5
#可选: 水鱼开发者 token
MAIMAIDXTOKEN=xxx
推荐模型:gemini-3-flash-preview 低预算推荐模型:deepseek-v4-flash
使用
| 指令 | 说明 |
|---|---|
分析b50 |
默认风格分析自己的 B50 |
分析b50 [风格/需求] |
用指定风格或需求分析自己的 B50 |
重置分析次数 [qq号/@用户] |
重置用户的当日可用次数 |
示例输出
更新说明
05/17优化了制图,新增了 LLM 审查,可配置次数限制,新增了推分推荐模块,会根据用户需求或用户配置长短板综合推荐配置特化谱。
鸣谢
- 感谢贡献开发者:
f090
免责声明
- 本项目未与华立科技所运营的《舞萌DX》通讯服务器进行连接,不会对玩家账号数据造成任何影响。
- 本项目数据库中保护了用户隐私,样本数据来源于OneCatBot,游玩数据仅供模型训练,并未涉及用户隐私。
- 本项目llm提示词学习的口吻均为ai爬虫在互联网自行学习,非个人意向。
- 本项目大部分由 AI 辅助生成。
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_b50_analysis-0.1.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_b50_analysis-0.1.2.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e18fb90459332d42a83336724c7b64d9edb967863c7ecfe6458a836c6b01006
|
|
| MD5 |
358a5a16be49b5449ffe2e571be684bf
|
|
| BLAKE2b-256 |
d28cc0dc8ae6e0f617d706e669f6b56d80951b114fd5a5dee11e3611e8d6ea9a
|
File details
Details for the file nonebot_plugin_b50_analysis-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_b50_analysis-0.1.2-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0041b25bf0ec405a11a91e9315c89a988fe0a28f7c8075ebd9c5ca3d03d1ea63
|
|
| MD5 |
5b54f040c39c62ed85d7f03d0890b9a4
|
|
| BLAKE2b-256 |
4f7088a76c46ab510a1ff8cbe856e21e6e12af60a0eb45844979ead8b4a5f952
|