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,15 +1,15 @@
# æ•°æ<C2B0>®ETL引擎
> **能力定位:** 通用能力层
> **复用率:** 29% (2个模块依赖)
> **能åŠå®šä½<EFBFBD>ï¼?* 通用能力å±?
> **å¤<EFBFBD>用率:** 29% (2个模å<C2A1>—ä¾<C3A4>èµ?
> **优先级:** P2
> **状态:** ⏳ 待实现
> **状æ€<EFBFBD>:** â<>?待实çŽ?
---
## 📋 能力概述
数据ETL引擎负责
æ•°æ<EFBFBD>®ETL引擎负责ï¼?
- Excel多表JOIN
- æ•°æ<C2B0>®æ¸…æ´
- æ•°æ<C2B0>®è½¬æ<C2AC>¢
@@ -19,9 +19,9 @@
## 📊 ä¾<C3A4>èµæ¨¡å<C2A1>
**2个模块依赖29%复用率):**
**2个模å<EFBFBD>—ä¾<EFBFBD>èµï¼ˆ29%å¤<C3A5>用率)ï¼?*
1. **DC** - æ•°æ<C2B0>®æ¸…æ´—æ•´ç<C2B4>†ï¼ˆæ ¸å¿ƒä¾<C3A4>èµï¼‰
2. **SSA** - 智能统计分析(数据预处理)
2. **SSA** - 智能统计分æž<EFBFBD>(数æ<EFBFBD>®é¢„处ç<EFBFBD>†ï¼?
---
@@ -33,21 +33,21 @@
- GROUP BYè<59>šå<C5A1>ˆ
### 2. æ•°æ<C2B0>®æ¸…æ´
- 缺失值处理
- 重复值处理
- 异常值检测
- 缺失值处ç<EFBFBD>?
- é‡<EFBFBD>å¤<EFBFBD>值处ç<EFBFBD>?
- 异常值检�
### 3. æ•°æ<C2B0>®è½¬æ<C2AC>¢
- ç±»åžè½¬æ<C2AC>¢
- 格式标准化
- æ ¼å¼<EFBFBD>标准åŒ?
---
## 🏗️ 技术方案
## ðŸ<EFBFBD>—ï¸?技术方æ¡?
### 云端版(最优)
```python
# 基于Polars性能极高
# 基于Polars(性能æž<EFBFBD>高ï¼?
class ETLEngine:
def read_excel(self, files: List[File]) -> List[DataFrame]
def join(self, dfs: List[DataFrame], keys: List[str]) -> DataFrame
@@ -55,7 +55,7 @@ class ETLEngine:
def export(self, df: DataFrame, format: str) -> bytes
```
### 单机版(兼容)
### å<EFBFBD>•机版(兼容ï¼?
```python
# 基于SQLite(内存å<CB9C>好)
# 分å<E280A0>—读å<C2BB>,数æ<C2B0>®åº“引擎处ç<E2809E>†JOIN