You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# virtual_patient_qa
虚拟病人问答系统
## 安装说明
这个项目需要在 Conda 环境中运行。以下是安装的步骤:
### 1. 安装 Conda
如果您尚未安装 Conda, 请根据您的操作系统安装 Miniconda 或 Anaconda。您可以从以下链接下载并安装 Conda:
- [Miniconda ](https://docs.conda.io/en/latest/miniconda.html )
- [Anaconda ](https://www.anaconda.com/products/distribution )
### 2. 创建虚拟环境
打开终端(或命令提示符),并输入以下命令以创建名为`qa_env`的 Conda 虚拟环境,确保使用 Python 3.10:
```bash
conda create --name qa_env python = 3.10
```
### 3. 激活虚拟环境
一旦环境创建完成,您需要激活虚拟环境。在 Windows 上,您可以使用以下命令
```bash
conda activate qa_env
```
### 4. 安装对应包
```bash
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
```
### 5. 进入项目目录,运行接口程序
```
cd virtual_patient_qa
python fast_api.py
```