Skip to main content

对跟bot对话的每个人形成记忆,生成有趣的用户档案,用于下次生成回复,也可以通过指令查看已有的用户档案。

Project description

logo

可塑性记忆

✨ nonebot-plugin-memory ✨

LICENSE pypi python uv
ruff pre-commit

📖 介绍

为每位用户生成独立画像的记忆插件。对跟bot对话的每个人形成记忆,生成有趣的用户档案,用于下次生成回复,也可以通过指令查看已有的用户档案。

功能

  • 自动保存用户发言
  • 每日生成或更新用户画像
  • 指令查看印象

💿 安装

pip install nonebot-plugin-memory
使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-memory --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-memory --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-memory --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"

⚙️ 配置

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

配置项 必填 默认值 说明
DEEPSEEK_API_KEY 配置说明

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/可塑性记忆 所有 需要 所有 输入用户id查看档案

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_memory-0.1.1.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_memory-0.1.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_memory-0.1.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_memory-0.1.1.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for nonebot_plugin_memory-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2af14e8e22ee2e292e624728ff4fe2c2c72aa80b842b3960e226956c4ff2ef2a
MD5 6129d8e4b61c9a965ec544da3c1138e7
BLAKE2b-256 f472f89c257479da2bca024fbb08370bca6dd2956a26d3c64560df8efc9de54e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_memory-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_memory-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d47e74d396162613a9e88e68240a7a1e9227546f098e83e2ff95562f2e825e2
MD5 dfb5346374ab04b1be59b3c6573eab90
BLAKE2b-256 7bb4f4a134991b3d349eba8a2f7c9f1273027ef6e076a01481b99b5b8970ad6e

See more details on using hashes here.

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