安装
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot_plugin_groups_aichat
使用包管理工具
使用 poetry/pip 等包管理工具在当前目录安装本插件
之后打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_groups_aichat"
]
配置
具体配置方法请参考 clovers-aichat
GROUPS_AICHAT_TIMEOUT = 600
GROUPS_AICHAT_MEMORY = 20
GROUPS_AICHAT_STYLE_PROMPT = '你的名字是枫枫,你可以自由回答问题。'
GROUPS_AICHAT_CONFIG_LIST = '
[
{
"key": "hunyuan",
"model": "hunyuan-lite",
"url": "https://hunyuan.tencentcloudapi.com",
"secret_id": "",
"secret_key": ""
}
]
'
Metadata
Release files for nonebot-plugin-groups-aichat 0.2.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_groups_aichat-0.2.0.post1.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_groups_aichat-0.2.0.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / nonebot_plugin_groups_aichat-0.2.0.post1.tar.gz
| Download URL | nonebot_plugin_groups_aichat-0.2.0.post1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b4e65eb8612f13527ae0c4744bf5108f9278af87bee9c6c280022b06ed33876
|
|
BLAKE2b-256 checksum How to use checksums |
adf2b59e4afa569302d262b5262d29f00b9e0c9081cdf39a9b6e5c6d37f8d92d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.13.2 Windows/10
|
Release files / nonebot_plugin_groups_aichat-0.2.0.post1-py3-none-any.whl
| Download URL | nonebot_plugin_groups_aichat-0.2.0.post1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4731ba054dc7b22e8cde59dc6976136b6eac64e546e12c77889d469c9f0e5f7
|
|
BLAKE2b-256 checksum How to use checksums |
d3589ae3d194c05244a79e4aaeff2894b092420e6d228c18b57f199f996fc3fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.13.2 Windows/10
|
Security for nonebot-plugin-groups-aichat 0.2.0.post1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.