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
106 lines
2.2 KiB
Markdown
106 lines
2.2 KiB
Markdown
# RVW - 稿件审查系统
|
||
|
||
> **模块代号:** RVW (Review)
|
||
> **开发状态:** ⚡ 核心功能已完成,待扩展
|
||
> **商业价值:** ⭐⭐⭐⭐⭐ 可独立售卖
|
||
> **独立性:** ⭐⭐⭐⭐⭐ 极高
|
||
> **优先级:** P1
|
||
|
||
---
|
||
|
||
## 📋 模块概述
|
||
|
||
稿件审查系统提供AI辅助的稿件智能审查功能。
|
||
|
||
**核心价值:** 完全独立的产品,可独立售卖给期刊编辑部
|
||
|
||
---
|
||
|
||
## 🎯 核心功能
|
||
|
||
### 已完成功能
|
||
1. ✅ **文档上传** - Word稿件上传
|
||
2. ✅ **文本提取** - 调用文档处理引擎
|
||
3. ✅ **稿约规范性评估** - 11项评估(editorial_review)
|
||
4. ✅ **方法学评估** - 3部分评估(methodology_review)
|
||
5. ✅ **综合评分** - 双维度评分
|
||
6. ✅ **PDF导出** - 评估报告导出
|
||
|
||
### 未来扩展
|
||
- ⏳ 审稿人管理
|
||
- ⏳ 审稿流程管理
|
||
- ⏳ 多轮审稿
|
||
- ⏳ 审稿意见模板
|
||
- ⏳ 期刊库管理
|
||
|
||
---
|
||
|
||
## 📂 文档结构
|
||
|
||
```
|
||
RVW-稿件审查系统/
|
||
├── [AI对接] RVW快速上下文.md # ⏳ 待创建
|
||
├── 00-项目概述/
|
||
│ ├── 01-产品需求文档(PRD).md # ⏳ 待创建
|
||
│ ├── 02-独立系统规划.md # ⏳ 待创建
|
||
│ └── 03-商业模式设计.md # ⏳ 待创建
|
||
├── 01-设计文档/
|
||
├── 02-业务规则/
|
||
│ ├── 01-方法学评估标准.md # ⏳ 待迁移
|
||
│ └── 02-稿约规范性评估标准.md # ⏳ 待迁移
|
||
└── README.md # ✅ 当前文档
|
||
```
|
||
|
||
---
|
||
|
||
## 🔗 依赖的通用能力
|
||
|
||
- **LLM网关** - AI评估
|
||
- **文档处理引擎** - 稿件文本提取
|
||
|
||
---
|
||
|
||
## 🎯 商业模式
|
||
|
||
**目标客户:** 期刊编辑部、出版社、学会
|
||
**售卖方式:** 完全独立产品
|
||
**定价策略:** 按期刊订阅 或 按稿件数量计费
|
||
|
||
---
|
||
|
||
## ⭐ 为什么适合独立?
|
||
|
||
1. ✅ **用户群独立** - 期刊编辑部 vs 临床医生(完全不同)
|
||
2. ✅ **业务逻辑独立** - 与其他模块无关联
|
||
3. ✅ **部署场景独立** - 期刊编辑部有自己的部署需求
|
||
4. ✅ **商业模式独立** - 可以按期刊订阅
|
||
|
||
---
|
||
|
||
**最后更新:** 2025-11-06
|
||
**维护人:** 技术架构师
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|