Skip to main content

这是什么?问一下!

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-zssm

✨ 这是什么?问一下! ✨

license pypi python

📖 介绍

这是一个 nonebot2 的 ai 解释插件,对着你想要了解的东西,回复「zssm」吧!

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-zssm
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-zssm
pdm
pdm add nonebot-plugin-zssm
poetry
poetry add nonebot-plugin-zssm
conda
conda install nonebot-plugin-zssm

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

plugins = ["nonebot_plugin_zssm"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
zssm_ai_endpoint https://api.deepseek.com/v1 使用的 ai 端点
zssm_ai_token api-key
zssm_ai_model deepseek-chat 使用的模型

🎉 使用

指令表

指令 权限 需要@ 范围 说明
zssm 回复 对着需要解释的东西回复一下

效果图

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_zssm-0.1.0.tar.gz (8.3 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_zssm-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_zssm-0.1.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_zssm-0.1.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nonebot_plugin_zssm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4c1ff967a8a55a8ce441803d41218b3505c7df83e3ac1f1334811dc6fdc0e32d
MD5 51d3fba5475260abf68edc4f59993645
BLAKE2b-256 8ca5cd43a3afa6ab8cfb3193cd34b714549f7f3f0499f103f85ca2c32993bb02

See more details on using hashes here.

File details

Details for the file nonebot_plugin_zssm-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_zssm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c34f46997c3c931c2b8c5d1c9024552a1780d7a33740585e75cb81aeef829ae
MD5 dc5a2beb1e19898f7b61404469226b8a
BLAKE2b-256 98f68718a164eb63de558acb1a90330f3e842695ee81b5a5c503f7e3f6b634b8

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