[project] name = "doc-agent" version = "0.1.0" description = "Autonomous document-extraction agent for invoices/receipts." readme = "README.md" authors = [ { name = "Kenneth Chew", email = "kennethzy_chew@aiap.sg" } ] requires-python = ">=3.11" dependencies = [ "datasets[vision]>=5.0.0", "docling>=2.107.0", "google-genai>=2.10.0", "gradio>=6.19.0", "pillow>=12.2.0", "pydantic>=2.13.4", "pydantic-settings>=2.14.2", "watchdog>=6.0.0", ] [build-system] requires = ["uv_build>=0.9.7,<0.10.0"] build-backend = "uv_build" [tool.ruff] line-length = 100 [tool.pytest.ini_options] testpaths = ["tests"] # Repo root on the path so tests can import the top-level `eval` package # (the harness lives at ./eval, outside the installed src/doc_agent package). pythonpath = ["."] [dependency-groups] dev = [ "pytest>=9.1.1", "ruff>=0.15.20", ]