ai 群友
Project description
📖 介绍
使用 RAG 技术,自动对聊天历史储存,储存长记忆。学习群内群友发言习惯,使得 bot 更像真人。
接入vlm,并且自动学习表情包,自动在群内学习并偷取表情包。
使用 langchain,利用 agent 进行决策
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-ai-groupmate --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-ai-groupmate --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-ai-groupmate --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-ai-groupmate
安装仓库 master 分支
uv add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
pdm
pdm add nonebot-plugin-ai-groupmate
安装仓库 master 分支
pdm add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
poetry
poetry add nonebot-plugin-ai-groupmate
安装仓库 master 分支
poetry add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_template"]
使用 nbr 安装(使用 uv 管理依赖可用)
nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2
nbr plugin install nonebot-plugin-ai-groupmate
使用 pypi 源安装
nbr plugin install nonebot-plugin-ai-groupmate -i "https://pypi.org/simple"
使用清华源安装
nbr plugin install nonebot-plugin-ai-groupmate -i "https://pypi.tuna.tsinghua.edu.cn/simple"
⚙️ 配置
配置说明
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| bot_name | 是 | 无 | bot 名 |
| reply_probability | 否 | 0.01 | 群内发言概率 |
| personality_setting | 否 | 无 | 自定义人设 |
| milvus_uri | 否 | 无 | milvus 地址 |
| milvus_user | 否 | 无 | milvus 用户名 |
| milvus_password | 否 | 无 | milvus 密码 |
| tavily_api_key | 否 | 无 | tavily api 密钥 |
| openai_base_url | 否 | 无 | openai 请求地址 |
| openai_token | 否 | 无 | openai token |
| openai_model | 否 | 无 | openai 模型名 |
| vlm_ollama_base_url | 否 | 无 | vlm 地址 |
| vlm_model | 否 | 无 | vlm 模型名 |
| vlm_provider | 否 | ollama | ollama 或 openai |
| vlm_openai_base_url | 否 | 无 | vlm openai 请求地址 |
| vlm_openai_api_key | 否 | 无 | vlm openai api key |
🎉 使用
待补充
指令
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_ai_groupmate-1.0.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_ai_groupmate-1.0.1.tar.gz
- Upload date:
- Size: 7.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03a3d2ca2a346ac1063c2a0fe60612a5b63755193bce8ab0d60a3e360b68f584
|
|
| MD5 |
8f83433dd3561ae322de4b8c3052317c
|
|
| BLAKE2b-256 |
7a02885a3a5f00c6148f88e25139d7859041249c5e4e964d6d2ce4c39ca3b336
|
Provenance
The following attestation bundles were made for nonebot_plugin_ai_groupmate-1.0.1.tar.gz:
Publisher:
release.yml on yaowan233/nonebot-plugin-ai-groupmate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_ai_groupmate-1.0.1.tar.gz -
Subject digest:
03a3d2ca2a346ac1063c2a0fe60612a5b63755193bce8ab0d60a3e360b68f584 - Sigstore transparency entry: 730970564
- Sigstore integration time:
-
Permalink:
yaowan233/nonebot-plugin-ai-groupmate@44bdd5a29d086d47cfafe40ce6cda181adbd2ffa -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/yaowan233
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44bdd5a29d086d47cfafe40ce6cda181adbd2ffa -
Trigger Event:
push
-
Statement type:
File details
Details for the file nonebot_plugin_ai_groupmate-1.0.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_ai_groupmate-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56516f204fe394e5b0b74ee9c844b709519e90dc2bd17a87c9f9241a7ce978ab
|
|
| MD5 |
3d2e21f3429ab9712597cd03be572b34
|
|
| BLAKE2b-256 |
2126998af445904a5ec392b8491ea136f530a1e01ae96c6fb4fcc393a1351734
|
Provenance
The following attestation bundles were made for nonebot_plugin_ai_groupmate-1.0.1-py3-none-any.whl:
Publisher:
release.yml on yaowan233/nonebot-plugin-ai-groupmate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_ai_groupmate-1.0.1-py3-none-any.whl -
Subject digest:
56516f204fe394e5b0b74ee9c844b709519e90dc2bd17a87c9f9241a7ce978ab - Sigstore transparency entry: 730970566
- Sigstore integration time:
-
Permalink:
yaowan233/nonebot-plugin-ai-groupmate@44bdd5a29d086d47cfafe40ce6cda181adbd2ffa -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/yaowan233
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44bdd5a29d086d47cfafe40ce6cda181adbd2ffa -
Trigger Event:
push
-
Statement type: