Skip to main content

基于 LLM 的玉检测插件

Project description

NoneBotPluginLogo

nonebot-plugin-llm-jade

_✨ 基于 LLM 的玉检测插件 ✨_
license pypi python

📖 介绍

基于 LLM 的玉检测插件,使用智谱API
使用智谱的 GLM-4V-Flash 进行检测,不消耗api余额

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令安装
nb plugin install nonebot-plugin-llm-jade
pip安装
pip install nonebot-plugin-llm-jade

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_llm_jade"]
Github下载

手动克隆本仓库或直接下载压缩包,将里面的 nonebot_plugin_llm_jade 文件夹复制到 src/plugins 中,并安装以下依赖

httpx  PyJWT

🔧配置项

必填项

#智谱清言的API Key
jadefoot_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

启用的群聊
jadefoot_group = ["123456789","987654321"]

非必填项

#触发的概率(默认为0.5)
jadefoot_probability = 0.5

🖼️ 使用效果图

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_llm_jade-0.0.12.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_llm_jade-0.0.12-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_llm_jade-0.0.12.tar.gz.

File metadata

  • Download URL: nonebot_plugin_llm_jade-0.0.12.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.12.tar.gz
Algorithm Hash digest
SHA256 3f7d6b20853532fe78b0f15a6b8cdc617b0d244d7291b6f0e9835de70b0ac8a8
MD5 da79f9f5e17ad985f3820c6b533f4611
BLAKE2b-256 614e38d26cdbb5d95aec6f6eb4cfec97f646763b4922e655c9ebc26e4e63d0f9

See more details on using hashes here.

File details

Details for the file nonebot_plugin_llm_jade-0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 98cfa1409eadf02a52dc9ec25363007767c8d762b4434a5c43d18d36b7690526
MD5 4d3d803a96329ca80ae0bee4b86723e8
BLAKE2b-256 8dd579d77b98f2b394c763b5b168bf5e510a8bd1d3442b8418c1bcf1364abf94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page