From b9c08cbefd3b6e43d8c98d7e806e41b0b66b259e Mon Sep 17 00:00:00 2001 From: liunux4odoo Date: Tue, 26 Mar 2024 10:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9python=E7=9A=84=E8=A6=81=E6=B1=82?= =?UTF-8?q?=E9=99=8D=E7=BA=A7=E5=88=B0py38?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 14 ++++++-------- chatchat-server/pyproject.toml | 2 +- chatchat/pyproject.toml | 2 +- model-providers/pyproject.toml | 2 +- pyproject.toml | 2 +- webui-pages/pyproject.toml | 2 +- 6 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 740393fa..90a14f46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,13 @@ *.log *.log.* *.bak -logs -/media/ -/data/* -!/data/knowledge_base/samples -/data/knowledge_base/samples/vector_store -!/data/nltk_data +/chatchat/data/* +!/chatchat/data/knowledge_base/samples +/chatchat/data/knowledge_base/samples/vector_store +!/chatchat/data/nltk_data -/configs/*.py -/configs/loom.yaml +/chatchat/configs/*.py +/chatchat/configs/loom.yaml .vscode/ # below are standard python ignore files diff --git a/chatchat-server/pyproject.toml b/chatchat-server/pyproject.toml index 2c8248ad..070c50fd 100644 --- a/chatchat-server/pyproject.toml +++ b/chatchat-server/pyproject.toml @@ -6,7 +6,7 @@ authors = ["chatchat"] readme = "README.md" [tool.poetry.dependencies] -python = ">=3.9,<4.0,!=3.9.7" +python = ">=3.8,<4.0,!=3.9.7" chatchat-model-providers = "^0.3.0" langchain = "0.1.5" langchainhub = "0.1.14" diff --git a/chatchat/pyproject.toml b/chatchat/pyproject.toml index 0ec13250..f4ff6359 100644 --- a/chatchat/pyproject.toml +++ b/chatchat/pyproject.toml @@ -7,7 +7,7 @@ readme = "README.md" [tool.poetry.dependencies] -python = ">=3.9,<4.0,!=3.9.7" +python = ">=3.8,<4.0,!=3.9.7" chatchat-model-providers = "^0.3.0" chatchat-server = "^0.3.0" chatchat-webui-pages = "^0.3.0" diff --git a/model-providers/pyproject.toml b/model-providers/pyproject.toml index 264e1d42..2da32369 100644 --- a/model-providers/pyproject.toml +++ b/model-providers/pyproject.toml @@ -6,7 +6,7 @@ authors = ["glide-the <2533736852@qq.com>"] readme = "README.md" [tool.poetry.dependencies] -python = ">=3.9,<4.0,!=3.9.7" +python = ">=3.8,<4.0,!=3.9.7" transformers = "4.31.0" fastapi = "^0.109.2" uvicorn = ">=0.27.0.post1" diff --git a/pyproject.toml b/pyproject.toml index 805beab5..373a0d4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ repository = "https://github.com/chatchat-space/Langchain-Chatchat.git" [tool.poetry.dependencies] -python = ">=3.9,<4.0,!=3.9.7" +python = ">=3.8,<4.0,!=3.9.7" [tool.poetry.group.lint.dependencies] diff --git a/webui-pages/pyproject.toml b/webui-pages/pyproject.toml index 22fc7d07..bd7b6018 100644 --- a/webui-pages/pyproject.toml +++ b/webui-pages/pyproject.toml @@ -6,7 +6,7 @@ authors = ["chatchat"] readme = "README.md" [tool.poetry.dependencies] -python = ">=3.9,<4.0,!=3.9.7" +python = ">=3.8,<4.0,!=3.9.7" chatchat-model-providers = "^0.3.0" chatchat-server = "^0.3.0" streamlit = "1.30.0"