ModelEngine-Group / ModelEngine-Group/fit-framework
memory支持根据条件的检索
@CodeCasterX is already working on this.
Since Jul 27, 2025.
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
功能摘要 / 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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.