human-like-mem-openclaw-plugin
v0.3.4
Published
Long-term memory plugin for OpenClaw - AI Social Memory Integration
Downloads
755
Maintainers
Readme
Human-Like Memory Plugin for OpenClaw
OpenClaw 长期记忆插件,自动召回和存储对话记忆。
安装
npm install human-like-mem-openclaw-plugin配置
1. 启用插件
编辑 ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"human-like-mem-openclaw-plugin": { "enabled": true }
}
}
}2. 设置环境变量
# 必需 - API Key (从 https://human-like.me 申请)
export HUMAN_LIKE_MEM_API_KEY="mp_xxxxxx"
# 必需 - API 地址
export HUMAN_LIKE_MEM_BASE_URL="https://human-like.me"
# 可选
export HUMAN_LIKE_MEM_USER_ID="your-user-id" # 用户标识
export HUMAN_LIKE_MEM_LIMIT_NUMBER="6" # 召回数量
export HUMAN_LIKE_MEM_MIN_SCORE="0.1" # 最低相关性工作原理
- 对话前: 自动检索相关历史记忆,注入到上下文
- 对话后: 自动保存对话为新记忆
许可证
Apache-2.0
