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.10.tar.gz (16.2 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.10-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_llm_jade-0.0.10.tar.gz
  • Upload date:
  • Size: 16.2 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.10.tar.gz
Algorithm Hash digest
SHA256 40133963f7fbc41d1f8e14756e0632d35d6f06ef46e83491ac0a1d1e855370f5
MD5 a5a1c11ec25e6c1ffc44de5ac5fa23ce
BLAKE2b-256 0ee9b65bd5d522e73fd37b2c4b356adf375e1505887dfeb1f688fd9eeafc1e22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_llm_jade-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8fd5faf512cd583365f3c4f94c24745064fea8f2699e02e3a4769054d9da84ea
MD5 bfe48fcd378db7f57a1a7989bc5a0c38
BLAKE2b-256 8070817a4eb2df9d64547c4eacb2b98445f32786499d5be38b45ebd2341410fd

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