Skip to content

feat: 增加RelationAndReasoningDetector处理关系型图网络 #1852

@RyuGuo

Description

@RyuGuo

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 的,而不是一般软件问题

Problem Statement | 问题陈述

我在使用MemOS测试发现,有大量的多跳问题以及前后矛盾对抗性问题没有通过。我观察代码发现RelationAndReasoningDetector这个组件并没有实际工作。这个组件本意应该是将记忆节点相邻的节点进行再判断,找出其中的关系(因果、条件、冲突矛盾),然后进行组合aggregate后生成新的记忆节点插入,以得到节点之间的更多关联记忆。

但是目前代码中注释了这一块内容,不知道在开发时遇到了什么难点,或者是有其他更加重要的功能开发导致这里功能没有实现。
麻烦补充一下这个功能,理论上对于记忆召回精度,在因果关联系上会有很好的提升。

Willingness to Implement | 实现意愿

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpendingPending items to be addressed | 待解决事项。

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions