[project] name = "rag-service" version = "0.1.0" description = "RAG Service - сервис векторного скоринга на FastAPI с ruBERT" readme = "README.md" requires-python = ">=3.11" license = {text = "MIT"} authors = [ {name = "Developer"} ] dependencies = [ "fastapi>=0.109.0", "uvicorn[standard]>=0.27.0", "pydantic>=2.5.0", "torch>=2.1.0", "transformers>=4.36.0", "numpy>=1.24.0", "python-dotenv>=1.0.0", ] [project.optional-dependencies] dev = [ "pytest>=7.4.0", "pytest-asyncio>=0.23.0", "httpx>=0.26.0", "ruff>=0.1.0", ] [build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "W", "I", "N", "UP"] ignore = ["E501"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"]