分析群聊记录,生成近期讨论话题的总结。
Project description
📖 介绍
通过指令获取当前群聊近期讨论内容的总结,或者将群聊加入推送列表定时进行话题总结。
💿 安装
使用 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 | 否 | 无 | 定时推送的群列表 |
🕹️ 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 他们在聊什么/群友在聊什么 | 群员 | 否 | 群聊 | 获取当前群聊的讨论总结 |
🎉 鸣谢
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_whats_talk_gemini-0.0.5.tar.gz.
File metadata
- Download URL: nonebot_plugin_whats_talk_gemini-0.0.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd7676b927de411b9ac7204f43a7af34fac5ce268451c8f482937981929da8f2
|
|
| MD5 |
ab52440060964e9c23054b5a79d020aa
|
|
| BLAKE2b-256 |
0b0892298ef474b040617e02d3f9a7c0d9ea954d260ed3453c90920b3dcbdc7d
|
Provenance
The following attestation bundles were made for nonebot_plugin_whats_talk_gemini-0.0.5.tar.gz:
Publisher:
pypi-publish.yml on hakunomiko/nonebot-plugin-whats-talk-gemini
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_whats_talk_gemini-0.0.5.tar.gz -
Subject digest:
dd7676b927de411b9ac7204f43a7af34fac5ce268451c8f482937981929da8f2 - Sigstore transparency entry: 159836084
- Sigstore integration time:
-
Permalink:
hakunomiko/nonebot-plugin-whats-talk-gemini@7747857ef604ed2393ddb6d353a709b0279d25da -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/hakunomiko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@7747857ef604ed2393ddb6d353a709b0279d25da -
Trigger Event:
push
-
Statement type:
File details
Details for the file nonebot_plugin_whats_talk_gemini-0.0.5-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_whats_talk_gemini-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed35c38b710923c96f41d3c14cf5ce34a9e392bda3ceb5479c5ff036f7fc036b
|
|
| MD5 |
0f70ddf5cf1d715ae825b55082b5f41f
|
|
| BLAKE2b-256 |
d5b90436e892d9dfb1fd5bc0540fac7fcf7a092e0b75cff28b57a532b96bfd77
|
Provenance
The following attestation bundles were made for nonebot_plugin_whats_talk_gemini-0.0.5-py3-none-any.whl:
Publisher:
pypi-publish.yml on hakunomiko/nonebot-plugin-whats-talk-gemini
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_whats_talk_gemini-0.0.5-py3-none-any.whl -
Subject digest:
ed35c38b710923c96f41d3c14cf5ce34a9e392bda3ceb5479c5ff036f7fc036b - Sigstore transparency entry: 159836085
- Sigstore integration time:
-
Permalink:
hakunomiko/nonebot-plugin-whats-talk-gemini@7747857ef604ed2393ddb6d353a709b0279d25da -
Branch / Tag:
refs/tags/0.0.5 - Owner: https://github.com/hakunomiko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@7747857ef604ed2393ddb6d353a709b0279d25da -
Trigger Event:
push
-
Statement type: