diff --git a/README.md b/README.md deleted file mode 100644 index 1a94fa2..0000000 --- a/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# 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. 进入项目目录,运行接口程序 - -``` -cd virtual_patient_qa -python qa_Ask -``` \ No newline at end of file diff --git a/config/knowledge_base_names.txt b/config/knowledge_base_names.txt index f094ff2..481cd84 100644 --- a/config/knowledge_base_names.txt +++ b/config/knowledge_base_names.txt @@ -1,2 +1,2 @@ -3c296d74-87de-497f-ba20-d264302552b2 -46752b22-2b56-4119-ba0a-fbeca967f0ff \ No newline at end of file +cfee1e07-744b-45d4-985a-db344ce1cd98 +f19754c8-6d82-4446-b019-81521fe78763 \ No newline at end of file diff --git a/knowledge_base/3c296d74-87de-497f-ba20-d264302552b2/vector_store/FAISS/index.faiss b/knowledge_base/3c296d74-87de-497f-ba20-d264302552b2/vector_store/FAISS/index.faiss deleted file mode 100644 index f16c24d..0000000 Binary files a/knowledge_base/3c296d74-87de-497f-ba20-d264302552b2/vector_store/FAISS/index.faiss and /dev/null differ diff --git a/knowledge_base/3c296d74-87de-497f-ba20-d264302552b2/vector_store/FAISS/index.pkl b/knowledge_base/3c296d74-87de-497f-ba20-d264302552b2/vector_store/FAISS/index.pkl deleted file mode 100644 index 0799a5e..0000000 Binary files a/knowledge_base/3c296d74-87de-497f-ba20-d264302552b2/vector_store/FAISS/index.pkl and /dev/null differ diff --git a/knowledge_base/46752b22-2b56-4119-ba0a-fbeca967f0ff/vector_store/FAISS/index.faiss b/knowledge_base/cfee1e07-744b-45d4-985a-db344ce1cd98/vector_store/FAISS/index.faiss similarity index 100% rename from knowledge_base/46752b22-2b56-4119-ba0a-fbeca967f0ff/vector_store/FAISS/index.faiss rename to knowledge_base/cfee1e07-744b-45d4-985a-db344ce1cd98/vector_store/FAISS/index.faiss diff --git a/knowledge_base/46752b22-2b56-4119-ba0a-fbeca967f0ff/vector_store/FAISS/index.pkl b/knowledge_base/cfee1e07-744b-45d4-985a-db344ce1cd98/vector_store/FAISS/index.pkl similarity index 100% rename from knowledge_base/46752b22-2b56-4119-ba0a-fbeca967f0ff/vector_store/FAISS/index.pkl rename to knowledge_base/cfee1e07-744b-45d4-985a-db344ce1cd98/vector_store/FAISS/index.pkl diff --git a/knowledge_base/f19754c8-6d82-4446-b019-81521fe78763/vector_store/FAISS/index.faiss b/knowledge_base/f19754c8-6d82-4446-b019-81521fe78763/vector_store/FAISS/index.faiss new file mode 100644 index 0000000..e9815be Binary files /dev/null and b/knowledge_base/f19754c8-6d82-4446-b019-81521fe78763/vector_store/FAISS/index.faiss differ diff --git a/knowledge_base/f19754c8-6d82-4446-b019-81521fe78763/vector_store/FAISS/index.pkl b/knowledge_base/f19754c8-6d82-4446-b019-81521fe78763/vector_store/FAISS/index.pkl new file mode 100644 index 0000000..e5e12d6 Binary files /dev/null and b/knowledge_base/f19754c8-6d82-4446-b019-81521fe78763/vector_store/FAISS/index.pkl differ