Core Components: - PDFStorageService with Dify/OSS adapters - LLM12FieldsService with Nougat-first + dual-model + 3-layer JSON parsing - PromptBuilder for dynamic prompt assembly - MedicalLogicValidator with 5 rules + fault tolerance - EvidenceChainValidator for citation integrity - ConflictDetectionService for dual-model comparison Prompt Engineering: - System Prompt (6601 chars, Section-Aware strategy) - User Prompt template (PICOS context injection) - JSON Schema (12 fields constraints) - Cochrane standards (not loaded in MVP) Key Innovations: - 3-layer JSON parsing (JSON.parse + json-repair + code block extraction) - Promise.allSettled for dual-model fault tolerance - safeGetFieldValue for robust field extraction - Mixed CN/EN token calculation Integration Tests: - integration-test.ts (full test) - quick-test.ts (quick test) - cached-result-test.ts (fault tolerance test) Documentation Updates: - Development record (Day 2-3 summary) - Quality assurance strategy (full-text screening) - Development plan (progress update) - Module status (v1.1 update) - Technical debt (10 new items) Test Results: - JSON parsing success rate: 100% - Medical logic validation: 5/5 passed - Dual-model parallel processing: OK - Cost per PDF: CNY 0.10 Files: 238 changed, 14383 insertions(+), 32 deletions(-) Docs: docs/03-涓氬姟妯″潡/ASL-AI鏅鸿兘鏂囩尞/05-寮€鍙戣褰?2025-11-22_Day2-Day3_LLM鏈嶅姟涓庨獙璇佺郴缁熷紑鍙?md
项目管理
用途: 项目进度跟踪、计划管理、决策记录
维护者: 项目管理组
最后更新: 2025-11-07
📋 目录结构
08-项目管理/
├── 01-整体开发计划/ # 长期规划(季度/年度)
│ └── README.md
├── 02-里程碑规划/ # 中期规划(周/月)
│ ├── README.md
│ ├── 04-里程碑4-架构改造.md
│ └── 05-里程碑5-ASL模块开发.md
├── 03-每周计划/ # 短期跟踪(日/周)
│ ├── README.md
│ └── 周次-进度报告模板.md
├── 04-决策记录/ # 重要决策归档(ADR)
│ ├── README.md
│ ├── ADR模板.md
│ └── ADR-001-Schema隔离暂缓执行.md
└── 下一阶段行动计划-ASL启动.md # 当前阶段行动计划 ⭐
🎯 当前阶段
下一阶段行动计划(2025-11-07 至 2025-12-06)
核心目标: Schema隔离 + 前端统一架构 + ASL核心功能
四周规划:
- Week 1: Schema隔离(3详细+7空)
- Week 2: 前端统一架构 + 后端分层 ⭐⭐⭐
- Week 3-4: ASL核心功能(4个LLM筛选)
- Week 5+: LLM网关统一 + 其他模块
当前版本: 下一阶段行动计划-V2.2-前端架构优先版.md ⭐⭐⭐
版本历史:
-
V2.2版(前端架构优先) - 2025-11-09 ⭐ 当前版本
- 核心调整:前端架构提前到Week 2,避免返工
- LLM网关推迟到Week 5,聚焦核心
- 4个LLM已配置(DeepSeek/GPT-5/Claude-4.5/Qwen)
-
V2.1版(务实版) - 2025-11-09
- 核心调整:3详细+7空Schema策略
- Just-in-time设计,避免过度设计
-
V2.0版(模块化架构优先) - 2025-11-07
- 核心调整:Schema隔离 + 独立部署架构
-
V1.0版(ASL启动) - 2025-11-06
- 初始版本:直接启动ASL开发
🚀 快速导航
我想...
📋 了解项目整体规划
→ 查看 整体开发计划
🎯 了解当前阶段要做什么
→ 查看 下一阶段行动计划-V2.2(前端架构优先版) ⭐⭐⭐
📊 查看本周要做什么
→ 查看 每周计划
🔍 了解某个决策为什么这样做
→ 查看 决策记录
维护者: 项目管理组
创建日期: 2025-11-06
最后更新: 2025-11-07