47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
|
|
[project]
|
||
|
|
name = "ai-compliance-hub"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "AI+合规智能中枢 - 法律法规文档解析入库功能"
|
||
|
|
authors = [
|
||
|
|
{name = "T-systems AI Regulations Team"}
|
||
|
|
]
|
||
|
|
readme = "README.md"
|
||
|
|
requires-python = ">=3.10"
|
||
|
|
license = {text = "MIT"}
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
"pymilvus>=2.4.0",
|
||
|
|
"fastapi>=0.100.0",
|
||
|
|
"uvicorn[standard]>=0.23.0",
|
||
|
|
"python-multipart>=0.0.6",
|
||
|
|
"langchain>=0.1.0",
|
||
|
|
"langchain-milvus>=0.1.0",
|
||
|
|
"pymupdf>=1.24.0",
|
||
|
|
"python-docx>=0.8.11",
|
||
|
|
"FlagEmbedding>=1.2.0",
|
||
|
|
"sentence-transformers>=2.2.0",
|
||
|
|
"pydantic>=2.0.0",
|
||
|
|
"pydantic-settings>=2.0.0",
|
||
|
|
"python-dotenv>=1.0.0",
|
||
|
|
"loguru>=0.7.0",
|
||
|
|
"tenacity>=8.2.0",
|
||
|
|
"httpx>=0.24.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
mineru = ["magic-pdf[full]>=0.6.0"]
|
||
|
|
queue = ["celery>=5.3.0", "redis>=4.5.0"]
|
||
|
|
storage = ["minio>=7.1.0"]
|
||
|
|
db = ["psycopg2-binary>=2.9.0"]
|
||
|
|
dev = ["pytest>=7.0.0", "pytest-asyncio>=0.21.0"]
|
||
|
|
|
||
|
|
[build-system]
|
||
|
|
requires = ["setuptools>=61.0"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[tool.setuptools.packages.find]
|
||
|
|
where = ["src"]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|
||
|
|
asyncio_mode = "auto"
|