[project] name = "siop-ai" version = "0.1.0" description = "SIOP V2 — service IA (R5) : ingestion anonymisée, recherche sémantique, assistant sourcé (ADR-004)" requires-python = ">=3.11" dependencies = [ "fastapi>=0.115", "uvicorn[standard]>=0.32", "pydantic-settings>=2.6", "asyncpg>=0.30", "pypdf>=5.1", "minio>=7.2", ] [project.optional-dependencies] # Le vrai modèle (ONNX, CPU) — absent des tests/CI (embeddeur déterministe). embeddings = ["fastembed>=0.4"] [dependency-groups] dev = [ "pytest>=8.3", "pytest-asyncio>=0.24", "httpx>=0.27", "ruff>=0.8", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/siop_ai"] [tool.pytest.ini_options] testpaths = ["tests"] asyncio_mode = "auto" [tool.ruff] line-length = 100 src = ["src", "tests"]