Spaces:
Sleeping
Sleeping
[build-system] | |
requires = ["hatchling"] | |
build-backend = "hatchling.build" | |
[project] | |
name = "rag-backend" | |
version = "0.1.0" | |
description = "FastAPI backend for RAG chat application" | |
requires-python = ">=3.9" | |
license = { text = "MIT" } | |
dependencies = [ | |
"fastapi==0.104.1", | |
"uvicorn==0.23.2", | |
"python-multipart==0.0.6", | |
"pydantic==2.4.2", | |
"openai>=1.0.0", | |
"python-dotenv==1.0.0", | |
"numpy>=1.20.0", | |
"pandas>=1.3.0", | |
"scikit-learn>=1.0.0", | |
"tiktoken>=0.5.0", | |
"PyPDF2>=3.0.0", | |
] | |
[project.optional-dependencies] | |
dev = [ | |
"pytest", | |
"black", | |
] | |
[tool.pytest] | |
testpaths = ["tests"] | |
[tool.black] | |
line-length = 88 | |
target-version = ["py39"] |