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.
|
|
|
|
# Interro_robot_tool
|
|
|
|
|
|
|
|
|
|
审讯小机器人
|
|
|
|
|
|
|
|
|
|
## 安装说明
|
|
|
|
|
|
|
|
|
|
这个项目需要在 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 Interro_env python=3.10
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 3. 激活虚拟环境
|
|
|
|
|
一旦环境创建完成,您需要激活虚拟环境。在 Windows 上,您可以使用以下命令
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
conda activate Interro_env
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 4. 安装对应包
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 5. 进入项目目录,运行接口程序
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
cd interro_robot_tool
|
|
|
|
|
python fast_api.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 6. 接口文档信息
|
|
|
|
|
[跳转到接口文档](API_Documentation.md)
|
|
|
|
|
|