基于 LLM 的卖若插件
Project description
📖 介绍
基于 LLM 的卖若插件,使用智谱API
使用智谱的 GLM-4-Flash 进行检测,不消耗api余额
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令安装nb plugin install nonebot-plugin-sell-poor
pip安装
pip install nonebot-plugin-sell-poor
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_llm_jade"]
Github下载
手动克隆本仓库或直接下载压缩包,将里面的 nonebot_plugin_sell_poor 文件夹复制到 src/plugins 中,并安装以下依赖
httpx PyJWT
🔧配置项
必填项
#智谱清言的API Key
sell_poor_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
启用的群聊
sell_poor_group = ["123456789","987654321"]
非必填项
#触发的概率(默认为0.5)
sell_poor_probability = 0.5
# 卖若文案
sell_poor_text = "诶,还是太菜了,学不来,我也想有本领😭"
🖼️ 使用效果图
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_sell_poor-0.1.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_sell_poor-0.1.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6b3fcd0cce324a2ece2cbd4ad3cc41204eda4af60911c4c8b535e00c5a6b1f4
|
|
| MD5 |
32b9747a7ff64b84998d119181beda0c
|
|
| BLAKE2b-256 |
55dbce318b6c77a791c41db4c8da58ccabbc42e0544a320f1383a9e5d15015aa
|
File details
Details for the file nonebot_plugin_sell_poor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_sell_poor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81848fcc0f76a823f99b4c819da71a9d6650cd7ac6d07a0fe91894d0a3a4f334
|
|
| MD5 |
452590ec6ddf97543eedf69f3a62f4b3
|
|
| BLAKE2b-256 |
2ea4c6ffaac90c280405d4010cc99f04ac70a808bf778115f983bc0b4ab7befd
|