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==0.27.0  PyJWT

🔧配置项

必填项

#智谱清言的API Key
jadefoot_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

非必填项

#触发的概率(默认为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.8.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.8-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.8.tar.gz
Algorithm Hash digest
SHA256 6ad855aecfc227f61f132ecac96333f6bf367e69d422b519cc96558ce0762d1e
MD5 23387c2bdec69770010889a01dbae406
BLAKE2b-256 c33908ca03fc84939768b0fbeffbd683c315c8f9c367026957be6f9f985ac00c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 80a635698f2cfc654a1d45cf6e608244040e91a1d966d4f8b74299bb9462a38f
MD5 4ef7f69c5e03bca7e43346031feb9983
BLAKE2b-256 afbdff730dfc3ea28b489249112695594a1cb47815b109113de5c684dd71324b

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