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,25 +1,25 @@
# 医学NLP引擎
> **能力定位:** 通用能力层
> **复用率:** 14% (1个模块依赖)
> **能åŠå®šä½<EFBFBD>ï¼?* 通用能力å±?
> **å¤<EFBFBD>用率:** 14% (1个模å<C2A1>—ä¾<C3A4>èµ?
> **优先级:** P2
> **状态:** ⏳ 待实现
> **状æ€<EFBFBD>:** â<>?待实çŽ?
---
## 📋 能力概述
医学NLP引擎负责
- 医学实体识别NER
- 医学术语标准化
医学NLP引擎负责�
- 医学实体识别(NER�
- 医学术语标准�
- 疾病/è<>¯ç‰©è¯†åˆ«
---
## 📊 ä¾<C3A4>èµæ¨¡å<C2A1>
**1个模块依赖14%复用率):**
1. **DC** - 数据清洗整理病例数据NER提取
**1个模å<EFBFBD>—ä¾<EFBFBD>èµï¼ˆ14%å¤<C3A5>用率)ï¼?*
1. **DC** - æ•°æ<EFBFBD>®æ¸…æ´—æ•´ç<EFBFBD>†ï¼ˆç—…便•°æ<EFBFBD>®NERæ<EFBFBD><EFBFBD>å<EFBFBD>ï¼?
---
@@ -31,7 +31,7 @@
- 手术识别
- TNM分期æ<C5B8><C3A6>å<EFBFBD>
### 2. 术语标准化
### 2. 术语标准�
- ICDç¼ç <C3A7>
- ATCç¼ç <C3A7>
@@ -41,15 +41,15 @@
---
## 🏗️ 技术方案
## ðŸ<EFBFBD>—ï¸?技术方æ¡?
### 云端版(高准确率)
### 云端版(高准确率�
```python
# 基于LLM APIClaude/GPT
# JSON Mode结构化输出
# 基于LLM API(Claude/GPT�
# JSON Mode结构化输�
```
### 单机版(隐私优先)
### å<EFBFBD>•机版(éš<EFBFBD>ç§<EFBFBD>优先ï¼?
```python
# 基于spaCy + 医学模型
# 100%本地è¿<C3A8>行