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.2.tar.gz (7.6 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.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_whats_talk_gemini-0.0.2.tar.gz
Algorithm Hash digest
SHA256 396285dd478b0c9d7a7128eff016e59f305c4b791cdf8d01c73d67c35334511e
MD5 fb75a0222af11011499533d5ad6ec0bc
BLAKE2b-256 9baddc56a52d62925708cfdc8416c0c28592f58fba8f07dc0cc9a4aff8eb1b55

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_whats_talk_gemini-0.0.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_whats_talk_gemini-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fac37fc371c92085b1871236d6b9d1531d5bacfe29bd5145a0915978127fdef7
MD5 8ad4babe271334df10b37a04b6691c0d
BLAKE2b-256 abc863b7ee3ae199dd43783622458746b4511b27670d50f3ba9ef690e79a70f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_whats_talk_gemini-0.0.2-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