| [project] | |
| name = "backend" | |
| version = "0.1.0" | |
| description = "Backend RAG médical avec Qdrant et LangChain" | |
| authors = [ | |
| { name = "CHU Developer", email = "dev@chu.com" } | |
| ] | |
| requires-python = ">=3.9" | |
| dependencies = [ | |
| # API Framework | |
| "fastapi>=0.115.12", | |
| "uvicorn[standard]>=0.34.3", | |
| "python-multipart>=0.0.20", | |
| "websockets>=12.0", | |
| "aiofiles>=24.1.0", | |
| # LangChain & RAG | |
| "langchain>=0.1.0", | |
| "langchain-openai>=0.2.16", | |
| "langchain-anthropic>=0.3.15", | |
| "langchain-community>=0.3.24", | |
| "langchain-core>=0.3.64", | |
| "langsmith>=0.0.70", | |
| # AI Services | |
| "anthropic>=0.52.2", | |
| "openai>=1.84.0", | |
| # Document Processing | |
| "PyMuPDF>=1.23.0", | |
| "Pillow>=11.2.1", | |
| "python-docx>=0.8.11", | |
| "pdf2image>=1.17.0", | |
| "reportlab>=4.0.0", | |
| # Vector Store | |
| "qdrant-client>=1.7.0", | |
| # Utils | |
| "python-dotenv>=1.1.0", | |
| "pydantic>=2.0.0", | |
| "pydantic-settings>=2.0.0", | |
| "requests>=2.32.3", | |
| "httpx>=0.25.0", | |
| ] | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src"] | |