Files
AIclinicalresearch/docs/03-业务模块/ASL-AI智能文献/00-系统设计/01-系统架构设计.md
HaHafeng 1b53ab9d52 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%)
2026-01-14 19:15:01 +08:00

100 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AI鏅鸿兘鏂囩尞妯″潡 - 绯荤粺鏋舵瀯璁捐<E79281>
> **鏂囨。鐗堟湰锛?* v1.0
> **鍒涘缓鏃ユ湡锛?* 2025-10-29
> **缁存姢鑰咃細** AI鏅鸿兘鏂囩尞寮€鍙戝洟闃?
> **鏈€鍚庢洿鏂帮細** 2025-10-29
---
## 馃搵 鏂囨。璇存槑
<EFBFBD>枃妗弿杩癆I鏅鸿兘鏂囩尞妯″潡鐨勭郴缁熸灦鏋勮<EFBFBD>璁★紝鍖呮嫭妯″潡鏋舵瀯銆佹妧鏈<EFBFBD>灦鏋勩€佹暟鎹<EFBFBD>灦鏋勭瓑銆?
---
## 馃彈锔?妯″潡鏋舵瀯
### 鏍稿績鍔熻兘妯″潡
```
AI鏅鸿兘鏂囩尞妯″潡
鈹溾攢鈹€ 1. 鐮旂┒鏂规<E98F82>鐢熸垚
鈹溾攢鈹€ 2. 鏅鸿兘鏂囩尞妫€绱?
鈹溾攢鈹€ 3. 鏍囬<E98F8D>鎽樿<E98EBD>鍒濈瓫 猸?褰撳墠浼樺厛寮€鍙?
鈹溾攢鈹€ 4. 鍏ㄦ枃澶嶇瓫
鈹溾攢鈹€ 5. 鍏ㄦ枃瑙瀽涓庢暟鎹<E69A9F>彁鍙?
鈹斺攢鈹€ 6. 鏁版嵁缁煎悎鍒嗘瀽涓庢姤鍛婄敓鎴?
```
### 妯″潡闂村叧绯?
```
鐮旂┒鏂规<EFBFBD>鐢熸垚 鈫?鎸囧<E98EB8>鍚庣画鎵€鏈夋ā鍧?
鈫?
鏅鸿兘鏂囩尞妫€绱?鈫?鐢熸垚鏂囩尞鍒楄〃
鈫?
鏍囬<EFBFBD>鎽樿<EFBFBD>鍒濈瓫 鈫?鍒濇<E98D92>绛涢€夌粨鏋?
鈫?
鍏ㄦ枃澶嶇瓫 鈫?鏈€缁堢撼鍏ュ垪琛?
鈫?
鍏ㄦ枃瑙瀽涓庢暟鎹<EFBFBD>彁鍙?鈫?缁撴瀯鍖栨暟鎹?
鈫?
鏁版嵁缁煎悎鍒嗘瀽涓庢姤鍛婄敓鎴?鈫?鏈€缁堟姤鍛?
```
---
## 馃敡 鎶€鏈<E282AC>灦鏋?
### 鍓嶇<E98D93>鏋舵瀯
- **妗嗘灦**: React + TypeScript
- **UI搴?*: Ant Design + Tailwind CSS
- **鐘舵€佺<E282AC>鐞?*: Zustand / React Query
- **璺<>敱**: React Router
### 鍚庣<E98D9A>鏋舵瀯
- **妗嗘灦**: Node.js + TypeScript + Fastify
- **鏁版嵁搴?*: PostgreSQL + Prisma ORM
- **鏂囦欢瀛樺偍**: 鏈<>湴瀛樺偍 / 瀵硅薄瀛樺偍
- **AI闆嗘垚**: DeepSeek-V3銆丵wen3-72B
### AI鏈嶅姟鏋舵瀯
- **鍙屾ā鍨嬬郴缁?*: DS妯″瀷 + Q3妯″瀷
- **娴佸紡杈撳嚭**: Server-Sent Events (SSE)
- **鎵瑰<E98EB5>鐞?*: 鏀<>寔鎵归噺浠诲姟澶勭悊
---
## 馃搳 鏁版嵁鏋舵瀯
### 鏍稿績鏁版嵁瀹炰綋
- **鐮旂┒鏂规<E98F82>** (Research Protocol)
- **鏂囩尞椤圭洰** (Literature Project)
- **鏂囩尞鏉$洰** (Literature Item)
- **绛涢€夌粨鏋?* (Screening Result)
- **鎻愬彇鏁版嵁** (Extracted Data)
---
## 鈴?寰呭畬鍠勫唴瀹?
<EFBFBD>枃妗唴瀹规<EFBFBD>鍦ㄥ畬鍠勪腑锛屽悗缁<EFBFBD>皢琛ュ厖锛?
- 璇︾粏鐨勬灦鏋勫浘
- 妯″潡闂撮€氫俊鏈哄埗
- 鏁版嵁娴佽<E5A8B4>璁?
- 瀹夊叏鎬ц<E98EAC>璁?
---
**鏂囨。鐗堟湰锛?* v1.0
**鏈€鍚庢洿鏂帮細** 2025-10-29