Skip to content

记忆抽取有问题 #2290

Description

@bjmajic

Pre-submission checklist | 提交前检查

  • I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
  • I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
  • This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题

Bug Description | 问题描述

使用的是 mode=fast
但是看落库的信息,感觉就是我对话的上下文原文,并没有经过提取

Image。 部署的容器也没有报错:

Image 对应的 env文件为:# OpenAI API Key (use Bailian's API_KEY)
OPENAI_API_KEY=

OpenAI API Base URL

OPENAI_API_BASE=

Default model name

MOS_CHAT_MODEL=DeepSeek-V4-Flash

Memory Reader LLM Model

MEMRADER_MODEL=DeepSeek-V4-Flash

Memory Reader API Key (use Bailian's API_KEY)

MEMRADER_API_KEY=

Memory Reader API Base URL

MEMRADER_API_BASE=

api/?type=model&url=2846066
MOS_EMBEDDER_MODEL=bge-m3

Configure embedding backend, two options: ollama | universal_api

MOS_EMBEDDER_BACKEND=universal_api

Embedder API Base URL

MOS_EMBEDDER_API_BASE=

Embedder API Key (use Bailian's API_KEY)

MOS_EMBEDDER_API_KEY=

Embedding vector dimension

EMBEDDING_DIMENSION=1024

Reranker Backend (http_bge | etc.)

MOS_RERANKER_BACKEND=http_bge
MOS_RERANKER_URL=
MOS_RERANKER_MODEL=bge-reranker-v2-m3

Neo4j Connection URI

Available options: neo4j-community | neo4j | nebular | polardb

NEO4J_BACKEND=neo4j-community

Required when backend=neo4j*

NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j

Whether to use Redis schedule

DEFAULT_USE_REDIS_QUEUE=false

Enable Chat API

ENABLE_CHAT_API=true

① 检索模式默认值(插件会显式传 mode,此项主要兜底)

SEARCH_MODE=fast

② 如果 search_mode = fine 增强策略:rewrite(保留记忆 id 改写文本,推荐)| recreate(重建新记忆,默认值,id 会变)

FINE_STRATEGY 别选 deep_search / agentic_search:会走多轮 agent 深搜,慢且依赖额外组件。rewrite 最稳,recreate 是默认但会丢原记忆 id(>影响记忆图谱引用)。

FINE_STRATEGY=rewrite

检索策略

FAST_GRAPH 对 fine 不是必需:fine 模式下 keys/tags 由 LLM 填充(非空),即使 FAST_GRAPH=false 也会命中 key/tag 结构化查询。上面建议开它

主要是补 fulltext/BM25 路径。
FAST_GRAPH=true
BM25_CALL=true
#与 FAST_GRAPH 有功能重叠(都走 fulltext 路径),开 FAST_GRAPH 后可以先不开,效果不足再加
#FULLTEXT_CALL=true

④ 可选:若想让 LLM 解析出的 internet_search=True 真正联网

ENABLE_INTERNET=true

INTERNET_SEARCH_BACKEND=bocha

BOCHA_API_KEY=你的key

调度器开关和可选的调度器参数

MOS_ENABLE_SCHEDULER=true

How to Reproduce | 如何重现

直接调用的写接口

Environment | 环境信息

Python

Additional Context | 其他信息

No response

Willingness to Implement | 实现意愿

  • I'm willing to implement this myself | 我愿意自己解决
  • I would like someone else to implement this | 我希望其他人来解决

Metadata

Metadata

Labels

area:pluginOpenClaw & Hermesstatus:needs-infoNeeds more information from reporter | 需要补充信息types:bugSomething isn't working | 功能异常

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions