Skip to main content

No project description provided

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-lingyi-chat

✨ 灵翼系列插件-聊天 ✨

license pypi python

📖 介绍

基于部署在CFWorkers的LLM API在Nonebot2上提供聊天服务。

💿 安装

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

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

plugins = ["nonebot_plugin_lingyi_chat"]

⚙️ 配置

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

配置项 必填 默认值 说明
api_url 填入你的API地址。

🎉 使用

指令表

指令 权限 需要@ 范围 说明
chat 普通 均可 聊天。

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_lingyi_chat-0.1.2.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_lingyi_chat-0.1.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_lingyi_chat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f7ba99afbbc19236ac87b8bcf4b7d9ca1c02e8ce5828042173fc37dabac017b0
MD5 a95c1d7e0a2fb9705e221e0ee1522137
BLAKE2b-256 f3fb31f5759d5c7ebd76d6aeb23bbb9da730f9138456a9987fe1d65ff617006d

See more details on using hashes here.

File details

Details for the file nonebot_plugin_lingyi_chat-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_lingyi_chat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 936ce4c6b6eb395c462b8f2dbfa2d0e3878a6a8fa874759e0622b332dc2a0bb7
MD5 099e8611558a36575f84649f41c8c0b8
BLAKE2b-256 776653a0d642b390923a73f4f4e852713857aabd8a86ca5d74230b446cbb5d59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page