Skip to content

[Feature]: 增加session metadata, 丰富schema可配置数据来源 #2414

@HWliao

Description

@HWliao

Problem Statement

想要给agent加一层project级别的个性化记忆, 架构风格/技术选型偏好之类的
但是现在客户端没有上报额外的session信息, 服务端也没有保存额外的session信息, 同时在抽取记忆的时候也没有加入额外的session 信息作为system提示词
所以现在schema只能作为"特性记忆"类别抽取,而且只能抽取一层.
想要实现只能通过各个项目配置不同agent_id或者user_id来实现了

Proposed Solution

  1. 服务端增加session metadata 额外字段持久保存
  2. vlm抽取记忆时,将session metadata 加入到系统上下文
  3. schema配合实现多层记忆抽取

Alternatives Considered

No response

Feature Area

Core (Client/Engine)

Use Case

自定义多层记忆

Example API (Optional)

Additional Context

No response

Contribution

  • I am willing to contribute to implementing this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions