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-cli安装
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__BASE_URL = "https://api.gpt.ge/v1" #可选,默认为 https://api.gpt.ge/v1
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.4.0.tar.gz (8.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.4.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_summary-0.4.0.tar.gz
  • Upload date:
  • Size: 8.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.4.0.tar.gz
Algorithm Hash digest
SHA256 92b77eb46fea079ed0f8da5b2ce52576274fc01a12d9e455ed05ee712ca47afd
MD5 84a7697a867c0e8ebc4b9308f1f46e0d
BLAKE2b-256 6e8158366b2c89009fa2f36192dd5f7d8e696d5859fde6c68f6e76825baea00b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_summary-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30ed2adf93f3fab40fcbd56b0b80a92aa4197659af250eccd5d06a0d61db43cc
MD5 206e7766c53c2d7b17680c07b1c1d137
BLAKE2b-256 36030c0012b7fffff7e339e95620cfc2cd6775ef5538cd72ce58b01d68f0a332

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