Skip to main content

miyuki

Project description

logo

✨ nonebot-plugin-ai-groupmate ✨

LICENSE pypi python uv
ruff pre-commit codecov

📖 介绍

使用 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

nonebot_plugin_ai_groupmate-1.0.0.tar.gz (7.3 MB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_ai_groupmate-1.0.0-py3-none-any.whl (7.3 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_ai_groupmate-1.0.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_ai_groupmate-1.0.0.tar.gz
Algorithm Hash digest
SHA256 807d116d440ac14fc44b9d6913f78a188f9367d2147100ec81a96627d3d3f1e7
MD5 f721e73cfb01089a85b96ffd1490965f
BLAKE2b-256 4ba70174cd40575fe31ff1649a9ebc23350b836ade713d6ea8ba4fef73b56135

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_ai_groupmate-1.0.0.tar.gz:

Publisher: release.yml on yaowan233/nonebot-plugin-ai-groupmate

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_ai_groupmate-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_ai_groupmate-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53acec0d6aed158340e3a0a12bad78596b6d5854e4a69e91658aaf51070bf341
MD5 9346758c91395100adedaee539f632dc
BLAKE2b-256 f1f5172cea11e25e4a12527f73e0b173d2e8cbd97ece2444b56b49683426b16d

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_ai_groupmate-1.0.0-py3-none-any.whl:

Publisher: release.yml on yaowan233/nonebot-plugin-ai-groupmate

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