71 lines
1.9 KiB
TOML
71 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "cot-reasoning"
|
|
version = "0.1.0"
|
|
description = "Chain-of-Thought reasoning service with multi-stage pipeline orchestration"
|
|
requires-python = ">=3.10"
|
|
license = "MIT"
|
|
authors = [{ name = "Lilith Platform", email = "dev@transquinnftw.com" }]
|
|
keywords = ["ml", "llm", "reasoning", "cot", "chain-of-thought", "pipeline"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Framework :: FastAPI",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
]
|
|
dependencies = [
|
|
"lilith-service-fastapi-bootstrap>=2.1.0",
|
|
"lilith-fastapi-service-base>=1.0.0",
|
|
"model-boss>=4.0.0",
|
|
"lilith-ollama-provider>=0.1.0",
|
|
"lilith-pipeline-framework>=1.0.0",
|
|
"lilith-service-addresses>=1.0.0",
|
|
"httpx>=0.27.0",
|
|
"pyyaml>=6.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
redis = ["redis>=5.0.0"]
|
|
dev = ["pytest>=7.0", "pytest-asyncio>=0.21", "pytest-cov>=4.0", "httpx>=0.27.0"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["service/src"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/service",
|
|
"/tests",
|
|
"/config.yaml",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["service/tests"]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
src = ["service/src", "service/tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
|
|
|
|
[tool.lilith]
|
|
registry = "forgejo"
|
|
# Port resolved at runtime from lilith-platform/infrastructure/ports.yaml via service-addresses
|
|
# ml.cot-reasoning = 8110
|