chat with yinying
Project description
- @Author : huanxin996
- @Date : 2024-4-17
- @LastEditors : huanxin996
- @LastEditTime : 2024-4-18
- @Description : None
- @GitHub : https://github.com/huanxin996 -->
nonebot_plugin_hx-yinying
✨ Hx vs YinYing(在线与银影进行对话的插件) ✨
使用方式
通用:
- @Bot 或者回复即可
OneBot:
- @Bot
- 回复Bot
配置项
[!WARNING] GitHub 仓库中的文档为最新 DEV 版本,配置方式请参考 PyPI 上的文档。
配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可。
yinying_appid
- 类型:
str
- 默认值:
None
- 说明:你的appid
- 重要:必填
yinying_token
- 类型:
str
- 默认值:
None
- 说明:这里写你找秩乱获取到的api_key
- 重要:必填
hx_api_yinying
- 类型:
str
- 默认值:
None
- 说明:yinying的api地址
- 重要:必填
yinying_model
- 类型:
str
- 默认值:
None
- 说明:选择使用银影的模型
hx_path
- 类型:
str
- 默认值:
None
- 说明:银影对话的用户数据存储路径(不写将使用默认配置)
hx_reply
- 类型:
bool
- 默认值:
False
- 说明:bot发送chat消息时是否回复
- 注意:该项启用时hx_reply_at将被忽略
hx_reply_at
- 类型:
bool
- 默认值:
False
- 说明:bot发送chat消息时不回复时是否艾特
yinying_limit
- 类型:
int
- 默认值:
12
- 说明:对于银影对话限制的次数
配置文件示例(默认模板)
hx_api_yinying=https://地址
yinying_appid=你的appid
yinying_token=你的token(不带bearer)
yinying_model=模型
hx_reply_at=False
yinying_limit=12
Contributors ✨
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
Close
Hashes for nonebot-plugin-hx-yinying-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f2e0c11b7dd68ab06451ef07358f819e733a6a5b60a9f4e7aed7a3b4365523 |
|
MD5 | da285e5077623eb4f2c9e85390531887 |
|
BLAKE2b-256 | e89f1549f4afb68f3cf7e1b9d2f3a36ac8990ed113f0328b6cd33cb1c2f17c0b |
Close
Hashes for nonebot_plugin_hx_yinying-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc937da8d3d7638bf8e381e738725a6244c046446a6852edcfe14714eac6a5be |
|
MD5 | 1d682101777fbdf31e2f36ffdb4a1c1d |
|
BLAKE2b-256 | 160a59673bfe152cf24e9b992b79cba54774e3e7ac4ecaf04ac4298c4d814f64 |