Files
my-project/config/openclaw/mem0_config.yaml
T

38 lines
818 B
YAML

# 2号机 mem0 记忆配置
# 稳重可靠的技术型守护者人格记忆系统
# 记忆存储类型: local (轻量,适合守护者)
mem0_type: local
# 存储路径
storage_path: /root/.openclaw/memory/
# 记忆配置
memory:
# 每次对话最大记忆条目
max_messages: 50
# 重要信息自动提取
extract_important: true
# 用户偏好自动学习
learn_preferences: true
# 嵌入配置 (使用本地 Ollama)
embedding:
provider: ollama
model: nomic-embed-text:latest
api_base: http://192.168.0.66:11434/v1
# 检索配置
retrieval:
# 每次检索返回的记忆数
limit: 10
# 相关性阈值
similarity_threshold: 0.7
# 人格化配置
personality:
# 人格类型: guardian (守护者)
type: steady_reliable
# 记忆风格: technical (技术导向)
style: technical