Skip to content

feat: add memreader to tackle with internet - #154

Merged
CaralHsi merged 5 commits into
MemTensor:devfrom
CaralHsi:feat/internet_content_read
Jul 25, 2025
Merged

feat: add memreader to tackle with internet#154
CaralHsi merged 5 commits into
MemTensor:devfrom
CaralHsi:feat/internet_content_read

Conversation

@CaralHsi

@CaralHsi CaralHsi commented Jul 25, 2025

Copy link
Copy Markdown
Collaborator

Description

Summary:

  • Replaced custom chunk/tag/embedding logic in XinyuSearchRetriever with standardized MemReader pipeline
  • Injected MemReader into Xinyu retriever via config and factory
  • Updated get_scene_data_info() to parse both str and non-str doc entries with ParserFactory
  • Added info support in all internet retriever signatures to track memory usage metadata
  • Simplified _process_result() by reusing extracted memory items from MemReader
  • Adjusted test for get_scene_data_info_with_doc to correctly trigger parser with non-string mock input

Fix: #153

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @fridayL @Nyakult

Checklist:

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

@CaralHsi
CaralHsi requested review from Nyakult and fridayL July 25, 2025 04:25
@CaralHsi
CaralHsi marked this pull request as ready for review July 25, 2025 04:36
@CaralHsi
CaralHsi merged commit 06ca986 into MemTensor:dev Jul 25, 2025
20 checks passed
@CaralHsi
CaralHsi deleted the feat/internet_content_read branch July 25, 2025 07:04
tianxing02 pushed a commit to tianxing02/MemOS that referenced this pull request Feb 24, 2026
* feat: add memreader to tackle with internet

* feat: delete chunker in internet retriever and add 'info' parameter in all retrievers

* test: fix test for updated memreader

* test: fix test for updated memreader

* test: fix test for updated memreader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants