API-AI-017:用户设置优先级规则 #188

Closed
opened 2026-06-11 21:49:59 +08:00 by wangdl · 0 comments
Owner

目标

实现 AI 分析中的用户设置优先级规则,保证用户明确设置优先于行为推断和 AI 推断。

优先级顺序

Level 0:隐私授权 / 安全 / 合规
Level 1:用户明确设置
Level 2:学习目标和任务类型
Level 3:测评结果
Level 4:学习行为
Level 5:内容结构
Level 6:设备与当前场景
Level 7:用户画像辅助字段
Level 8:AI 自己的推断

规则示例

  1. 用户每日学习时间限制不可被 AI 推荐突破。
  2. 用户目标为应试时,题目 / 复习优先级提高。
  3. 用户关闭资料内容授权时,不发送原文片段给模型。
  4. 设备信息只能调整任务形式,不判断学习能力。

验收标准

  1. 有 Rule Service。
  2. Snapshot 中包含 constraints。
  3. Runtime 可读取明确约束。
  4. 规则测试覆盖核心场景。
## 目标 实现 AI 分析中的用户设置优先级规则,保证用户明确设置优先于行为推断和 AI 推断。 ## 优先级顺序 ``` Level 0:隐私授权 / 安全 / 合规 Level 1:用户明确设置 Level 2:学习目标和任务类型 Level 3:测评结果 Level 4:学习行为 Level 5:内容结构 Level 6:设备与当前场景 Level 7:用户画像辅助字段 Level 8:AI 自己的推断 ``` ## 规则示例 1. 用户每日学习时间限制不可被 AI 推荐突破。 2. 用户目标为应试时,题目 / 复习优先级提高。 3. 用户关闭资料内容授权时,不发送原文片段给模型。 4. 设备信息只能调整任务形式,不判断学习能力。 ## 验收标准 1. 有 Rule Service。 2. Snapshot 中包含 constraints。 3. Runtime 可读取明确约束。 4. 规则测试覆盖核心场景。
wangdl added this to the M-API-AI-RUNTIME:API AI Runtime 调度与落库 milestone 2026-06-11 21:49:59 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangdl/api-server#188
No description provided.