Skip to content

feat: enhance retriever, reorganizer & NebulaGraph handling#200

Merged
CaralHsi merged 27 commits intoMemTensor:devfrom
CaralHsi:feat/modify_playground
Aug 1, 2025
Merged

feat: enhance retriever, reorganizer & NebulaGraph handling#200
CaralHsi merged 27 commits intoMemTensor:devfrom
CaralHsi:feat/modify_playground

Conversation

@CaralHsi
Copy link
Collaborator

@CaralHsi CaralHsi commented Jul 30, 2025

Description

Summary:

  • 🔧 NebulaGraph pool & query execution improved:

    • Added reset_pool() for emergency session reset
    • Enhanced session expiration handling & logging
  • 🌳 TreeTextMemory major updates:

    • Improved clustering logic & min_group_size adjustments
    • Added cycle detection in convert_graph_to_tree_forworkmem
  • 🔍 Retrieval pipeline upgraded:

    • Enhanced BochaSearch parsing (AI Search & Web Search)
    • Internet retriever now defaults to AI search, adds context
  • 📝 Prompt & template improvements:

    • Rewrote MEMOS_PRODUCT_BASE_PROMPT and MEMOS_PRODUCT_ENHANCE_PROMPT
    • Clarified memory reference format in responses
  • ⚙️ Parameter tuning:

    • Adjusted memory size limits (WorkingMemory, LongTermMemory, UserMemory)
    • Tweaked scheduler thresholds, cluster sizes, and min_group_size

Fix: #(issue)

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

Reviewer: @(reviewer)

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 and others added 25 commits July 30, 2025 17:37
fix: avoid over-rewriting query and wrong reference display
@CaralHsi CaralHsi marked this pull request as ready for review August 1, 2025 07:12
@CaralHsi CaralHsi changed the title feat: add more log in tree text mem retriever feat: enhance retriever, reorganizer & NebulaGraph handling Aug 1, 2025
@CaralHsi CaralHsi merged commit 013d0ad into MemTensor:dev Aug 1, 2025
20 checks passed
@CaralHsi CaralHsi deleted the feat/modify_playground branch August 1, 2025 07:30
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