Skip to main content

分析群聊记录,生成近期讨论话题的总结。

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-whats-talk-gemini

✨ 分析群聊记录,生成近期讨论话题的总结。 ✨

GitHub stars license pypi python

📖 介绍

通过指令获取当前群聊近期讨论内容的总结,或者将群聊加入推送列表定时进行话题总结。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-whats-talk-gemini
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-whats-talk-gemini
pdm
pdm add nonebot-plugin-whats-talk-gemini
poetry
poetry add nonebot-plugin-whats-talk-gemini
conda
conda install nonebot-plugin-whats-talk-gemini

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

plugins = ["nonebot_plugin_whats_talk_gemini"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
wt_ai_keys Gemini API Key, 可填入多个key, 格式为["xxx","xxx"]
wt_model "gemini-2.0-flash-exp" 总结使用的AI模型
wt_proxy 访问Gemini使用的代理,格式为"http://<ip>:<port>"
wt_history_lens 1000 总结使用的群聊条数
wt_push_cron "0 14,22 * * *" 定时推送的时间,只支持Cron表达式
wt_group_list 定时推送的群列表

🕹️ 使用

指令表

指令 权限 需要@ 范围 说明
他们在聊什么/群友在聊什么 群员 群聊 获取当前群聊的讨论总结

🎉 鸣谢

感谢大橘提供的prompt以及插件灵感

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_whats_talk_gemini-0.0.4.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file nonebot_plugin_whats_talk_gemini-0.0.4.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_whats_talk_gemini-0.0.4.tar.gz
Algorithm Hash digest
SHA256 be378406b2072dfd022f1787a52ecb10a697998c1b3a1d440f77a49f5681f26b
MD5 b903f7ac151c85bd6e22aa5b985afe1e
BLAKE2b-256 392a80e8f56fe3456fad594e18bdf091fb1e692328f2e113fabaa0d1f0a9a938

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_whats_talk_gemini-0.0.4.tar.gz:

Publisher: pypi-publish.yml on hakunomiko/nonebot-plugin-whats-talk-gemini

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_whats_talk_gemini-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_whats_talk_gemini-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d5019dd129c99b374b6a309d102ce0553c8f12fdda17a96cf01d853a1e1fe283
MD5 574489e197511b19a8e69697668165fa
BLAKE2b-256 00bf4e65209a265d644efca280bc4e9688dfc4fc0fbdf04e9b7b78424c9bb851

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_whats_talk_gemini-0.0.4-py3-none-any.whl:

Publisher: pypi-publish.yml on hakunomiko/nonebot-plugin-whats-talk-gemini

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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