61 lines
1.5 KiB
TOML
61 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "lilith-ml-intent-classifier"
|
|
version = "0.1.0"
|
|
description = "Classify message intent, urgency, and emotional tone using LLM"
|
|
requires-python = ">=3.10"
|
|
license = "MIT"
|
|
authors = [{ name = "Lilith Platform", email = "quinn@ftw.codes" }]
|
|
keywords = ["ml", "llm", "intent", "classification", "nlp", "sentiment"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"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",
|
|
"Topic :: Text Processing :: Linguistic",
|
|
]
|
|
dependencies = [
|
|
"pydantic>=2.10.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
model-router = ["lilith-ml-model-router>=0.1.0"]
|
|
dev = ["pytest>=7.0", "pytest-asyncio>=0.21", "pytest-cov>=4.0"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/ml_intent_classifier"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/src",
|
|
"/tests",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["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 = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
|
|
|
|
[tool.lilith]
|
|
registry = "forgejo"
|