Skip to main content

基于Nonebot2,使用Gemini分析群聊记录,生成讨论内容的总结。

Project description

nonebot_plugin_summary_group

📖 介绍

基于Nonebot2,使用Gemini分析群聊记录,生成讨论内容的总结。

💿 安装

使用nb-cli安装插件

nb plugin install nonebot_plugin_summary_group

使用pip安装插件

pip install nonebot_plugin_summary_group

⚙️ 配置

在机器人文件夹的env文件中添加下表中配置项。

配置项 必填 默认 说明
gemini_key None gemini接口密钥
summary_model gemini-1.5-flash gemini模型名称
proxy None 代理设置
summary_max_length 2000 总结最大长度
summary_min_length 50 总结最小长度
summary_cool_down 0 总结冷却时间

🕹️ 使用

总结 [消息数量] :生成该群最近消息数量的内容总结

总结 [@群友] [消息数量] :生成指定群友相关内容总结

注:默认总结消息数量范围50~2000,使用无冷却时间

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_group-0.3.1.tar.gz (4.5 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_group-0.3.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_summary_group-0.3.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_summary_group-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5e07a648abc3409738e9c28faf106240f8381ae4ed09e88198070c3709899874
MD5 4ab9d9c79dc6da083deff432b1c76919
BLAKE2b-256 b4494f08ca48e76a4f54f60d0f1a453d22eb9077ecdc62f777c93bbe0ea96f9f

See more details on using hashes here.

File details

Details for the file nonebot_plugin_summary_group-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_summary_group-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63a61fa323fe54305594647f0b2a1146212becc9fd6ceaec216b11700c4ab562
MD5 b511646de0285a521c4827347c5569e6
BLAKE2b-256 b67bc501248a19cc9e28c25aa936edcaec933f8fa7b5281bbd6b511c85e8df39

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