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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_llm_jade-0.0.11.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.11.tar.gz
Algorithm Hash digest
SHA256 60d7eecc0b2fb6afe3507b8e45f74bc9660dae2bfac87f7eb5a41c833d1a1b1f
MD5 d401d4e6434f0208a2a554ee3018d163
BLAKE2b-256 24c883d6f821168d13fd3eaf89a9c7d59ed038cc70045952a7a83850a0404320

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3f42fd4aaaa7116861ab38f5c34b6b7bdc89fecfdcdad6cdccf5cb08a2510f
MD5 2f9cd9570945d07148a7ab13cdea9b3a
BLAKE2b-256 53ba6fdda85c7db7878a62a6b7e881814b6ae040f58f0294785a95c40ec71e20

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