新增Python版本文件,更新api_key.txt以移除冗余API密钥,删除poetry.lock文件并更新pyproject.toml以调整依赖项和项目名称,新增uv.lock文件以管理依赖版本。
This commit is contained in:
+26
-35
@@ -1,37 +1,28 @@
|
||||
[tool.poetry]
|
||||
name = "rag2-0"
|
||||
[project]
|
||||
name = "queryrewrite"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["Your Name <you@example.com>"]
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.11,<3.13"
|
||||
langchain = "^0.3.25"
|
||||
langchain-openai = "^0.3.16"
|
||||
langchain-community = "^0.3.24"
|
||||
python-dotenv = "^1.1.0"
|
||||
pydantic = "^2.11.4"
|
||||
requests = "^2.32.3"
|
||||
faiss-cpu = "^1.11.0"
|
||||
pandas = "^2.2.3"
|
||||
openpyxl = "^3.1.5"
|
||||
bs4 = "^0.0.2"
|
||||
markdownify = "0.13.1"
|
||||
tqdm = "^4.67.1"
|
||||
xlsxwriter = "^3.2.3"
|
||||
flask = "^3.1.1"
|
||||
psycopg2 = "^2.9.10"
|
||||
gunicorn = "^23.0.0"
|
||||
gevent = "^25.5.1"
|
||||
pymysql = "^1.1.1"
|
||||
sqlalchemy = "^2.0.41"
|
||||
jieba = "^0.42.1"
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[[tool.poetry.source]]
|
||||
name = "ali-mirrors"
|
||||
url = "http://mirrors.aliyun.com/pypi/simple/"
|
||||
priority = "primary"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"bs4>=0.0.2",
|
||||
"faiss-cpu>=1.11.0",
|
||||
"flask>=3.1.1",
|
||||
"gevent>=25.5.1",
|
||||
"gunicorn>=23.0.0",
|
||||
"jieba>=0.42.1",
|
||||
"langchain>=0.3.25",
|
||||
"langchain-community>=0.3.25",
|
||||
"langchain-openai>=0.3.24",
|
||||
"markdownify==0.13.1",
|
||||
"openpyxl>=3.1.5",
|
||||
"pandas>=2.3.0",
|
||||
"psycopg2>=2.9.10",
|
||||
"pydantic>=2.11.7",
|
||||
"pymysql>=1.1.1",
|
||||
"python-dotenv>=1.1.0",
|
||||
"requests>=2.32.4",
|
||||
"sqlalchemy>=2.0.41",
|
||||
"tqdm>=4.67.1",
|
||||
"xlsxwriter>=3.2.5",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user