forked from gongxuegit/tiku-backend.net
chore: introduce semantic kernel ai foundation
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
- [`docs/migration/phase-4-external-provider-decoupling.md`](migration/phase-4-external-provider-decoupling.md)
|
||||
- [`docs/migration/phase-5-backoffice-worker-operations.md`](migration/phase-5-backoffice-worker-operations.md)
|
||||
- [`docs/migration/phase-7-student-experience-and-content-consumption.md`](migration/phase-7-student-experience-and-content-consumption.md)
|
||||
- [`docs/migration/phase-8-ai-foundation.md`](migration/phase-8-ai-foundation.md)
|
||||
|
||||
迁移原则:
|
||||
|
||||
@@ -82,7 +83,7 @@
|
||||
|
||||
剩余部分不建议再按“旧接口数量”机械推进。第六阶段已经把平台后台、租户后台、交易运营和 Worker 最小闭环打通;第七阶段补齐了学生端视频、签到积分流水和内容导入异步化。后续应按“能上线运营”和“体验增强”拆分。
|
||||
|
||||
### 1. AI 推荐报告,独立阶段
|
||||
### 1. AI 底座与教师端对话,独立阶段
|
||||
|
||||
旧版相关模块:
|
||||
|
||||
@@ -90,6 +91,9 @@
|
||||
|
||||
目标能力:
|
||||
|
||||
- 租户教师后台基础 AI 对话。
|
||||
- 对话 function calling 能力预留,但只允许调用受审计的后端业务函数。
|
||||
- AI 审核题目反馈,输出审核建议和风险等级,不直接改业务状态。
|
||||
- 学校推荐报告列表。
|
||||
- 推荐详情。
|
||||
- 推荐报告导出。
|
||||
@@ -103,7 +107,7 @@
|
||||
- 租户 API Key 存入 `TenantSecret`,不进入业务 DTO。
|
||||
- `Microsoft.SemanticKernel` 只允许出现在 Infrastructure AI provider 实现中。
|
||||
- Application 层只暴露业务抽象,例如 `IAiRecommendationProvider` / `IAiKernelFactory`。
|
||||
- 不直接照搬旧 prompt 或推荐算法,先结合分数线动态字段、用户画像、目标院校和志愿规则重新设计。
|
||||
- 教师对话先做基础能力;推荐报告不直接照搬旧 prompt 或推荐算法,后续结合分数线动态字段、用户画像、目标院校和志愿规则重新设计。
|
||||
|
||||
### 2. 内容导出和导入处理器增强
|
||||
|
||||
@@ -150,7 +154,7 @@
|
||||
## 推荐后续顺序
|
||||
|
||||
```text
|
||||
1. AI 推荐报告独立阶段:Semantic Kernel + 租户自带 API Key
|
||||
1. AI 底座独立阶段:Semantic Kernel + 租户自带 API Key + 教师端对话
|
||||
2. 内容导出 + 导入处理器增强
|
||||
3. Worker 统计、扫描、对账、域名复验处理器补强
|
||||
4. 后台运营细化:secrets、监督、洞察、审计、发票/催缴
|
||||
|
||||
Reference in New Issue
Block a user