generated from KomoriDev/python-pdm-template
-
-
Notifications
You must be signed in to change notification settings - Fork 15
KomoriDev edited this page Feb 7, 2025
·
2 revisions
以下提到的方法任选 其一 即可
Tip
想要启用 Markdown 转图片功能,需安装 nonebot-plugin-deepseek[image]
[推荐] 使用 nb-cli 安装
在 Bot 的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-deepseek
使用包管理器安装
pip install nonebot-plugin-deepseek
# or, use poetry
poetry add nonebot-plugin-deepseek
# or, use pdm
pdm add nonebot-plugin-deepseek
打开 NoneBot 项目根目录下的配置文件, 在 [plugin]
部分追加写入
plugins = ["nonebot_plugin_deepseek"]
指路:👉 本地模型接入教程