Skip to content

memory支持根据条件的检索 #222

@FredGoo

Description

@FredGoo

功能摘要 / Feature Summary

为记忆检索接口增加「查询参数」能力,可按用户、时间、关键词、来源等元数据灵活过滤并控制返回条数。

功能类型 / Feature Type

API改进 / API Enhancement

优先级 / Priority

高 - 非常需要这个功能 / High - Really need this feature

问题描述 / Problem Description

目前记忆如果用户希望做“加载更多”或“只看本月”时,目前只能全量拉取;
当记忆量较大时,全部带回也可能让下游模型多处理一些暂时无关的信息。

建议的解决方案 / Proposed Solution

是否可以重载List messages()接口,增加类似List query和SearchOption option参数

替代方案 / Alternative Solutions

No response

确认事项 / Confirmations

  • 我已经搜索了现有的 issues 和讨论,确认这不是重复建议
    I have searched existing issues and discussions, confirming this is not a duplicate suggestion

  • 这个功能符合项目的目标和范围
    This feature aligns with the project's goals and scope

  • 我理解这个功能可能需要时间来实现
    I understand this feature may take time to implement

  • 我愿意协助实现这个功能 (可选)
    I'm willing to help implement this feature (optional)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions