Profilers
pkgs/genx/profilers 根据新的 conversation segment 更新实体画像,输出画像内容及 schema change,供 Agent memory 决定如何持久化。
核心结构与主函数
| 符号 | 作用 |
|---|---|
Profiler | Entity profile 更新 contract。 |
Input | 提供现有 profile 与新增内容。 |
Result | 返回更新后的 profile 与变更信息。 |
SchemaChange | 描述画像 schema 的增量变化。 |
GenX | 使用 Generator 生成 profile update。 |
Process | 选择 Profiler 并处理画像更新。 |
Profiler 不拥有 entity identity、graph 或 profile storage;它只生成可由 Agent memory 应用的结果。