# 基于多智能体的中医辅助诊断系统 **Repository Path**: MayneXu/tcm_agent ## Basic Information - **Project Name**: 基于多智能体的中医辅助诊断系统 - **Description**: 基于多智能体的中医辅助诊断系统(面诊、手诊、舌诊) - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-12 - **Last Updated**: 2026-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, Agent ## README # 中医辩证多智能体 ## 项目介绍 ```bash cd app python main.py ``` 然后用浏览器打开`http://localhost:8000/docs`即可使用 ## 项目目录结构 ``` tcm-multi-agent-demo/ ├── app/ │ ├── main.py # FastAPI 入口 │ ├── orchestrator.py # 总调度器 │ ├── schemas.py # Pydantic 数据结构 │ ├── agents/ │ │ ├── base.py │ │ ├── tongue_agent.py │ │ ├── face_agent.py │ │ ├── palm_agent.py │ │ ├── inquiry_agent.py │ │ ├── debate_agent.py │ │ └── diagnosis_agent.py │ ├── rag/ │ │ ├── graph_loader.py │ │ └── retriever.py │ └── data/ │ └── tcm_constitution.jsonl ├── requirements.txt └── README.md ``` Prompt文件结构 ``` app/agents/prompts/ ├── tongue_prompt.txt ├── face_prompt.txt ├── palm_prompt.txt ├── inquiry_prompt.txt └── debate_prompt.txt ```