初始化医疗报告生成项目,添加核心代码文件

This commit is contained in:
2026-02-13 18:32:52 +08:00
commit faaf2158d4
69 changed files with 29836 additions and 0 deletions

29
backend/requirements.txt Normal file
View File

@@ -0,0 +1,29 @@
fastapi==0.104.1
uvicorn==0.24.0
python-multipart==0.0.6
pydantic==2.5.0
requests==2.31.0
python-dotenv==1.0.0
# OCR相关可选
baidu-aip==4.16.13
paddleocr==2.7.0
paddlepaddle==2.5.2
pdfplumber==0.10.3
Pillow>=10.0.0
# MinerU核心依赖高精度文档解析
loguru>=0.7.2
numpy>=1.21.6
tqdm>=4.67.1
# LLM相关根据需要选择安装
openai==1.3.0
cozepy # Coze官方Python SDK
# Word和PDF处理
PyMuPDF # PDF处理
python-docx # Word文档处理
weasyprint==60.1 # 推荐质量更好需要GTK3
xhtml2pdf==0.2.13 # 备用方案更简单纯Python
jinja2==3.1.2