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.9.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.9-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_llm_jade-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 223618940ed64bd67f778b3d61af468f9130201395fce9a0be63b48274a353f1
MD5 356b23f3cd5bb2db8bc463430d872e80
BLAKE2b-256 2ed8e7d8ca43c5ad9f363b8eeb13f23b6da3ce193bf9a222a22dd61aa3fa9b17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0340ce1ccd10a19dbe07d31f5cc4bed1c481dd55cfbb36dc3f40dca06bff42ce
MD5 6d8be4643ed0dc6ff521a1622c509550
BLAKE2b-256 e8edd4e55e0c73b78bff0fb26f2610b18b59964dd51fd8be42e1b02375edb4f9

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