Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

NoneBotPluginLogo

NoneBotPluginText

Qwen Chat

✨ 一个bot可以主动发送消息、表情包或自主让长消息分段发送的qwen大家族对话插件,让你的bot更拟人 ✨

license pypi python

📖 介绍

现有大模型对话插件配置难?回复慢?不能发图片?不能自定义角色? Qwen Chat来帮你!

本项目正处于开发阶段,完成时间待定

💿 安装

使用PIP安装 在 nonebot2 项目的插件目录下, 打开命令行, 输入安装命令
pip install nonebot-plugin-qwen-chat

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

plugins = ["nonebot_plugin_qwen-chat"]

⚙️ 配置

qwen_api_key="" # 必填 阿里云百炼API密钥
qwen_model="" # 必填 模型名称(目前只支持阿里云百炼平台模型)
user_prompt="" # 必填 用户提示词
bot_bot_name="" # 必填 机器人名称
emoji_dir="" # 必填 表情包目录(此版本无用)
debug_mode= # 可选 开发模式(输出详细日志)

🎉 使用

直接发送包含{name}的内容即可唤醒

TODO LIST

  • 完成基础功能(支持大模型主动换行的对话)
  • 使用异步请求OpenAI Python客户端
  • 让大模型能够发送表情包和网络图片
  • 永久记忆(指本地保存)对话上下文
  • 全模态支持(需要等Qwen Omni)

参考的项目(仅参考逻辑)

nonebot_plugin_random_reply
MaiBot

Metadata

Release files for nonebot-plugin-qwen-chat 0.1.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-qwen-chat 0.1.0b1
File Size Uploaded Provenance Actions
nonebot_plugin_qwen_chat-0.1.0b1.tar.gz 19.2 kB Without provenance Details for nonebot_plugin_qwen_chat-0.1.0b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-qwen-chat 0.1.0b1
File Interpreter ABI Platform Actions
nonebot_plugin_qwen_chat-0.1.0b1-py3-none-any.whl Python 3 none any Details for nonebot_plugin_qwen_chat-0.1.0b1-py3-none-any.whl

Total release size: 39.5 kB

Release files / nonebot_plugin_qwen_chat-0.1.0b1.tar.gz

Download URL nonebot_plugin_qwen_chat-0.1.0b1.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3df656f6c423900a2f8b1d8874943cca5eb057a6701b3a6be78bd165b5afcd69
BLAKE2b-256 checksum
How to use checksums
efe1a1ad175ff1478b1525b9e1564555683b16c051b0b4099b5a976c1fab71d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / nonebot_plugin_qwen_chat-0.1.0b1-py3-none-any.whl

Download URL nonebot_plugin_qwen_chat-0.1.0b1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d17485b68e9a758985d82bfb8c61c3181e9aea733fed92b4822eb76d9d02ae7
BLAKE2b-256 checksum
How to use checksums
2f8a4ca9bd49d3dc5960b15544dd6dbcd256aaa680ed136185aeb817a9083817
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for nonebot-plugin-qwen-chat 0.1.0b1

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page