Files
cuishou-rag-v2/frontend/package.json
T
hughhuang(黄健铭)andClaude Sonnet 4.5 d0ccccc47b feat: 添加 RAG 评估结果展示系统(Web Dashboard)
实现功能完整的 Web 展示系统,支持实时数据读取和版本对比分析。

主要功能:
- 全局概览:8个系统排名、得分卡片、排名图表
- 系统对比:多系统对比、雷达图可视化
- 版本对比:ZHT vs ZHTv2 专项对比(+43.69%整体提升)
- 问题横评:单个问题的多系统得分对比

技术栈:
- 后端:Python + FastAPI + Uvicorn
- 前端:React 18 + TypeScript + Vite + Ant Design + ECharts

核心特性:
- 实时数据读取(无缓存,更新后刷新即可)
- 完整的类型安全(Pydantic + TypeScript)
- 丰富的可视化(ECharts 雷达图、柱状图)
- 自动生成 API 文档(Swagger UI)

版本对比亮点:
- 整体提升:+43.69%
- Context Recall:+86.1% 提升
- 识别改进/退化问题
- 雷达图对比

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 14:22:36 +08:00

37 lines
885 B
JSON

{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "^6.1.0",
"antd": "^6.1.4",
"axios": "^1.13.2",
"echarts": "^6.0.0",
"echarts-for-react": "^3.0.5",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.12.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^7.2.4"
}
}