chore: scaffold md-vector-db project structure

This commit is contained in:
2026-07-05 00:48:31 +08:00
parent 77d9ec6570
commit 3eb4b30858
11 changed files with 4655 additions and 0 deletions
+31
View File
@@ -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"]