chore: scaffold md-vector-db project structure
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
[project]
|
||||
name = "md-vector-db"
|
||||
version = "0.1.0"
|
||||
description = "Markdown 文档向量数据库,支持语义检索"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"chromadb>=0.5.0",
|
||||
"sentence-transformers>=3.0.0",
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.30.0",
|
||||
"pyyaml>=6.0",
|
||||
"markdown-it-py>=3.0.0",
|
||||
"typer>=0.12.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"httpx>=0.27.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["src"]
|
||||
Reference in New Issue
Block a user