这是什么?问一下!
Project description
📖 介绍
这是一个 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_text_endpoint | 否 | https://api.deepseek.com/v1 | 解释使用的 ai 端点 |
| zssm_ai_text_token | 是 | 无 | 解释使用的 api-key |
| zssm_ai_text_model | 否 | deepseek-chat | 解释使用的模型 |
| zssm_ai_vl_endpoint | 否 | https://api.siliconflow.cn/v1 | 识图使用的 ai 端点 |
| zssm_ai_vl_token | 是 | 无 | 解释使用的 api-key |
| zssm_ai_vl_model | 否 | Qwen/Qwen2.5-VL-72B-Instruct | 解释使用的模型 |
| zssm_browser_proxy | 否 | 无 | 浏览器代理 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| zssm | 无 | 否 | 回复 | 对着需要解释的东西回复一下 |
效果图
Project details
Release history Release notifications | RSS feed
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.5.tar.gz
(10.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_zssm-0.1.5.tar.gz.
File metadata
- Download URL: nonebot_plugin_zssm-0.1.5.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fce89efd9c977a67e56e5f722e6f885d2f9eeee7ce853e1e1a8db6f228170a8
|
|
| MD5 |
38ad8b4024cc181abe8291cd5a01a386
|
|
| BLAKE2b-256 |
1c32346a993e6c4aaa0fae8941acd67cc18de69916f0eec37301a3a9e647f092
|
File details
Details for the file nonebot_plugin_zssm-0.1.5-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_zssm-0.1.5-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
542e382aeae4f7b3f78934ee2c4954d417807eca40b45da0ae4f8c256ffc9b32
|
|
| MD5 |
07498da3a149b5d6bea3472bf74508ee
|
|
| BLAKE2b-256 |
758c6bcbef9d3a9cca518534ead8a75e8a4833fedbe2b0a3b16bed594e49f33f
|