Files
api_health/package.json
T
lik 6d2fc04424 feat(escort): 病历与诉求支持多材料解析为四段摘要
新增独立病历整理 Agent 与异步解析任务,支持 PDF 文本、图片 OCR、
语音 ASR 与文字输入,统一整理为基础健康、检查治疗、用药和问诊诉求。
Agent 只产出草稿,订单本人在编辑页核对确认后才写入当前订单;
原件在任务结束、失败或取消时立即清除。

inquiry 增加三段规范字段,medicalHistory 保留为旧版兼容摘要,
并兼容旧客户端只写 medicalHistory 的更新方式。
2026-11-16 20:44:46 +08:00

50 lines
1.2 KiB
JSON

{
"name": "attendant-api",
"version": "1.0.0",
"description": "值班助手小程序 RESTful API 服务",
"type": "module",
"main": "app.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "node --test test/*.test.js"
},
"dependencies": {
"@audio/decode-mp3": "^1.3.1",
"@audio/decode-webm": "^1.6.1",
"@langchain/anthropic": "^1.5.9",
"@langchain/core": "^1.2.9",
"@langchain/deepseek": "^1.1.11",
"@langchain/langgraph": "^1.4.13",
"@langchain/openai": "^1.5.11",
"@langchain/tavily": "^1.2.0",
"bcrypt": "^5.1.1",
"deepagents": "^1.13.2",
"dotenv": "^17.4.2",
"koa": "^2.16.4",
"koa-bodyparser": "^4.4.1",
"koa-cors": "^0.0.16",
"koa-mount": "^4.2.0",
"koa-router": "^12.0.1",
"koa-static": "^5.0.0",
"langchain": "^1.5.10",
"lodash": "^4.18.1",
"lunar-javascript": "^1.7.7",
"moment": "^2.30.1",
"mongoose": "^8.24.0",
"node-fetch": "^3.3.2",
"pdf-parse": "1.1.1",
"pinyin-pro": "^3.29.3",
"winston": "^3.19.0",
"ws": "^8.21.0",
"zod": "^4.5.4"
},
"devDependencies": {
"nodemon": "^3.0.2"
},
"optionalDependencies": {
"bufferutil": "^4.1.0",
"utf-8-validate": "^6.0.6"
}
}