feat(aia): Complete AIA V2.0 with universal streaming capabilities

Major Changes:
- Add StreamingService with OpenAI Compatible format
- Upgrade Chat component V2 with Ant Design X integration
- Implement AIA module with 12 intelligent agents
- Update API routes to unified /api/v1 prefix
- Update system documentation

Backend (~1300 lines):
- common/streaming: OpenAI Compatible adapter
- modules/aia: 12 agents, conversation service, streaming integration
- Update route versions (RVW, PKB to v1)

Frontend (~3500 lines):
- modules/aia: AgentHub + ChatWorkspace (100% prototype restoration)
- shared/Chat: AIStreamChat, ThinkingBlock, useAIStream Hook
- Update API endpoints to v1

Documentation:
- AIA module status guide
- Universal capabilities catalog
- System overview updates
- All module documentation sync

Tested: Stream response verified, authentication working
Status: AIA V2.0 core completed (85%)
This commit is contained in:
2026-01-14 19:15:01 +08:00
parent 3d35e9c58b
commit 1b53ab9d52
386 changed files with 52096 additions and 65238 deletions

View File

@@ -1,8 +1,8 @@
# SSA - 鏅鸿兘缁熻<E7BC81>鍒嗘瀽
> **模块代号:** SSA (Smart Statistical Analysis)
> **开发状态:** ⏳ 规划中
> **商业价值:** ⭐⭐⭐⭐⭐ 刚需
> **妯″潡浠e彿锛?* SSA (Smart Statistical Analysis)
> **寮€鍙戠姸鎬侊細** 鈴?瑙勫垝涓?
> **鍟嗕笟浠峰€硷細** 猸愨瓙猸愨瓙猸?鍒氶渶
> **鐙<>珛鎬э細** 猸愨瓙猸愨瓙
> **浼樺厛绾э細** P2
@@ -10,24 +10,24 @@
## 馃搵 妯″潡姒傝堪
智能统计分析模块提供3条核心分析路径实现从数据上传到报告导出的完整流程。
鏅鸿兘缁熻<EFBFBD>鍒嗘瀽妯″潡鎻愪緵3鏉℃牳蹇冨垎鏋愯矾寰勶紝瀹炵幇浠庢暟鎹<EFBFBD>笂浼犲埌鎶ュ憡瀵煎嚭鐨勫畬鏁存祦绋嬨€?
---
## 🎯 核心功能3条路径
## 馃幆 鏍稿績鍔熻兘锛?鏉¤矾寰勶級
### 1. 闃熷垪鐮旂┒鍒嗘瀽
- 鍩虹嚎鐗瑰緛鍒嗘瀽
- 生存分析Kaplan-Meier
- 鐢熷瓨鍒嗘瀽锛圞aplan-Meier锛?
- Cox鍥炲綊
### 2. 棰勬祴妯″瀷鏋勫缓
- 变量筛选
- 鍙橀噺绛涢€?
- 妯″瀷鏋勫缓锛圠ogistic鍥炲綊銆侀殢鏈烘鏋楋級
- 模型验证ROC曲线
- 妯″瀷楠岃瘉锛圧OC鏇茬嚎锛?
### 3. RCT鐮旂┒鍒嗘瀽
- 随机化检查
- 闅忔満鍖栨<EFBFBD>鏌?
- 鐤楁晥鍒嗘瀽
- 浜氱粍鍒嗘瀽
@@ -37,10 +37,10 @@
```
SSA-鏅鸿兘缁熻<E7BC81>鍒嗘瀽/
├── [AI对接] SSA快速上下文.md # ⏳ 待创建
鈹溾攢鈹€ [AI瀵规帴] SSA<EFBFBD>€熶笂涓嬫枃.md # 鈴?寰呭垱寤?
鈹溾攢鈹€ 00-椤圭洰姒傝堪/
│ └── 01-产品需求文档(PRD).md # ⏳ 待创建
└── README.md # ✅ 当前文档
鈹? 鈹斺攢鈹€ 01-浜у搧闇€姹傛枃妗?PRD).md # 鈴?寰呭垱寤?
鈹斺攢鈹€ README.md # 鉁?褰撳墠鏂囨。
```
---
@@ -48,15 +48,15 @@ SSA-智能统计分析/
## 馃敆 渚濊禆鐨勯€氱敤鑳藉姏
- **鏂囨。澶勭悊寮曟搸** - 鏁版嵁瀵煎叆
- **ETL引擎** - 数据预处理
- **ETL寮曟搸** - 鏁版嵁棰勫<EFBFBD>鐞?
---
## 🏗️ 技术栈
## 馃彈锔?鎶€鏈<E282AC>
- **R璇<52>█** - 缁熻<E7BC81>鍒嗘瀽鏍稿績
- **Plumber** - R鏆撮湶涓篈PI
- **Node.js** - 粘合层
- **Node.js** - 绮樺悎灞?
---