Skip to main content

AI总结群聊消息,再也不用一直爬楼了!

Project description

NoneBotPluginLogo

NoneBotPluginText

省流

nonebot-plugin-summary

pypi python QQ Chat Group

>💬使用AI总结群友说了什么B话💬<

💿 安装

通过pipnb安装;

**通过 pip **安装

pip install nonebot-plugin-summary

**通过 nb **安装

nb plugin install nonebot-plugin-summary

✅ 插件依赖于

  1. nonebot-plugin-datastore ————本地化储存
  2. nonebot-plugin-userinfo ————获取用户信息
  3. nonebot-plugin-alconna ————实现命令解析
  4. nonebot-plugin-chatrecorder ————实现消息储存
  5. nonebot-plugin-saa ————实现多平台

⚠注意 若先前没有安装过nonebot-plugin-chatrecorder或者nonebot-plugin-orm,则会在启动时报错,请按报错的提示安装数据库!

⚙ 配置

需要提前配置本插件所依赖的插件

在 .env 中,可以添加以下配置项

SUMMARY__TOKEN = your_token #必填!!
SUMMARY__ENDPOINT = "https://api.gpt.ge/v1/chat/completions" #可选,默认为 https://api.gpt.ge/v1/chat/completions
SUMMARY__MODEL_NAME = "gpt-4o-mini" #可选,默认为 gpt-4o-mini
SUMMARY__DEFAULT_CONTEXT = 100 #可选,默认为 100,获取上下文数量

⚠ 注意!!

必须填写TOKEN,否则无法使用!TOKEN就是API_KEY!理论上支持所有OpenAI格式的访问和返回。

🗨命令

🎨一般用法

/总结 ————使用AI总结群友说了什么B话!

🚀进阶用法

注意!! 未完工!

/总结 历史 2024-01-01~2024-01-02 12345678

💪 目前支持的平台

平台 是否经过测试 是否能够正常工作 测试环境
Onebot NapCat + Window11
飞书 🤔
Red 🤔
DoDo 🤔
Mirai 🤔
开黑啦 🤔
Kritor 🤔
Ntchat 🤔
Satori 🤔
Telegram 🤔
Discord 🤔
Tailchat 🤔
QQ 官方接口 🤔
Rocket.Chat 🤔
  • 如果你测试过能够使用,请在 Issue 中指出

📦另外

😳加入作者的 BUG 反馈群 (🥵女装粉丝群)

群连接

群二维码 点我展开

7a4bd22dea47d25d9b632d4b2696d4cd

💕感谢

感谢我的学长免费给我提供了API_KEY!

感谢以下开发者作出的贡献:

🎀TODO

  • 适配全平台

  • 移除HIM

待补充。.....

👾题外话

整个项目快被我写成屎山了

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_summary-0.2.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_summary-0.2.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_summary-0.2.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_summary-0.2.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for nonebot_plugin_summary-0.2.2.tar.gz
Algorithm Hash digest
SHA256 55d38eaa4cbd60b19cea36825ec55fd3f1268f590e8ca46cb8f6b1d76e15346a
MD5 e328176d9fab885c7208599e7cbbbeb6
BLAKE2b-256 67a251d880f0a2f0fe3789d0f5bcdd21e3b902906f75aa6cc79507ab460d82c0

See more details on using hashes here.

File details

Details for the file nonebot_plugin_summary-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_summary-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08764056b8db7f9fd387e03403f884e708907c7441811a067098e48e036be61d
MD5 0be54a385c3a92291190bcecef6f8d9e
BLAKE2b-256 7c1591fadb970a22e58afb795837defc4c786d134027a90036fce0936669bebd

See more details on using hashes here.

Supported by

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