From 12f7f3062939db5b39c0d9635b74a5dc911338fd Mon Sep 17 00:00:00 2001 From: pandarong Date: Thu, 6 Feb 2025 20:49:21 +0800 Subject: [PATCH 1/4] Update requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加缺少的依赖langchain_chroma --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f75acc9..c2fec01 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,5 @@ chromadb langchain-community sentence_transformers scikit-learn -nltk \ No newline at end of file +nltk +langchain_chroma From 5c4dfd1e4308f45feecf7561313c0da755b052f0 Mon Sep 17 00:00:00 2001 From: pandarong Date: Thu, 6 Feb 2025 20:59:49 +0800 Subject: [PATCH 2/4] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加安装说明 --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index fde216c..d9a6890 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,32 @@ --- + +## 📥 安装说明 +1. **下载项目** + - 通过 [GitHub](https://github.com) 下载项目 ZIP 文件,或使用以下命令克隆本项目: + ```bash + git clone https://github.com/your-repo/project-name.git + ``` + +2. **安装编译工具** + - 访问 [Visual Studio Build Tools](https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/) 下载并安装编译工具。 + - 安装时,默认只包含 MSBuild 工具,需手动勾选左上角列表栏中的 **C++ 桌面开发** 选项。 + +3. **安装依赖并运行** + - 打开终端,进入项目源文件目录: + ```bash + cd project-name + ``` + - 安装项目依赖: + ```bash + pip install -r requirements.txt + ``` + - 安装完成后,运行主程序: + ```bash + python main.py + ``` + ## 🗂 项目架构 ``` novel-generator/ From 20c23837f08cd224abe829a8660349b9e0909c4c Mon Sep 17 00:00:00 2001 From: pandarong Date: Thu, 6 Feb 2025 21:01:00 +0800 Subject: [PATCH 3/4] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加安装说明 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9a6890..464f4ad 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ 1. **下载项目** - 通过 [GitHub](https://github.com) 下载项目 ZIP 文件,或使用以下命令克隆本项目: ```bash - git clone https://github.com/your-repo/project-name.git + git clone https://github.com/your-repo/project-name.git](https://github.com/YILING0013/AI_NovelGenerator ``` 2. **安装编译工具** From 62a1c01d06b5c2f7d61d84ca2c942884b8c4cccb Mon Sep 17 00:00:00 2001 From: pandarong Date: Thu, 6 Feb 2025 21:01:59 +0800 Subject: [PATCH 4/4] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改说明,增加安装步骤 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 464f4ad..5246a57 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ 3. **安装依赖并运行** - 打开终端,进入项目源文件目录: ```bash - cd project-name + cd AI_NovelGenerator ``` - 安装项目依赖: ```bash