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.
|
11 months ago | |
---|---|---|
.idea | 11 months ago | |
bge-large-zh-v1.5 | 11 months ago | |
config | 11 months ago | |
knowledge_base | 11 months ago | |
.gitignore | 11 months ago | |
API_Documentation.md | 11 months ago | |
PaddelSpeech.py | 11 months ago | |
README.md | 11 months ago | |
base_kb.py | 11 months ago | |
faiss_cache.py | 11 months ago | |
faiss_kb_service.py | 11 months ago | |
fast_api.py | 11 months ago | |
kb_config.py | 11 months ago | |
qa_Ask.py | 11 months ago | |
requirements.txt | 11 months ago |
README.md
Interro_robot_tool
审讯小机器人
安装说明
这个项目需要在 Conda 环境中运行。以下是安装的步骤:
1. 安装 Conda
如果您尚未安装 Conda,请根据您的操作系统安装 Miniconda 或 Anaconda。您可以从以下链接下载并安装 Conda:
2. 创建虚拟环境
打开终端(或命令提示符),并输入以下命令以创建名为qa_env
的 Conda 虚拟环境,确保使用 Python 3.10:
conda create --name qa_env python=3.10
3. 激活虚拟环境
一旦环境创建完成,您需要激活虚拟环境。在 Windows 上,您可以使用以下命令
conda activate qa_env
4. 安装对应包
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
5. 进入项目目录,运行接口程序
cd virtual_patient_qa
python fast_api.py