No project description provided
Project description
📖 介绍
简易千帆平台文心4适配
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-wx4
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-wx4
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_wx4"]
⚙️ 配置
在项目的config.py
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
API_KEY | 是 | 无 | 千帆平台应用 |
SECRET_KEY | 是 | 无 | 千帆平台应用 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
文心 | 群员 | 否 | 私聊/私聊 | 调用文心接口 |
失忆术 | 群员 | 否 | 私聊/私聊 | 忘记对话内容 |
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
Built Distribution
File details
Details for the file nonebot_plugin_wx4-1.2.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_wx4-1.2.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba7492e4a88610577d513fc04d9c58da8500eb3cb7c8374ef32ec22fdb52ebc |
|
MD5 | 214cd9178b1641e5ea6fcbb5dd1c3a48 |
|
BLAKE2b-256 | e81713d459bf8de25b1fdebe51151342519dcf89787afbc4ad95e1cce1c9354a |
File details
Details for the file nonebot_plugin_wx4-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_wx4-1.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.3 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc8bdb0c84ba37a2532f16639f338c6e0fc06876737c3ef37789a6b50bdd1107 |
|
MD5 | 0eb50b863359fe87d444ea88aed31ae0 |
|
BLAKE2b-256 | 22fecd5e916e90a007671845c989a821b1192260d93b78c2b49cc2d6cd52f349 |