-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.32 KB
/
pyproject.toml
File metadata and controls
62 lines (54 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[project]
name = "elte-rag-assistant"
version = "0.2.0"
description = "RAG-based FAQ Web Application for University Campus Policies"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"beautifulsoup4>=4.13.0",
"faiss-cpu>=1.13.1",
"fastapi>=0.125.0",
"httpx>=0.28.0",
"langchain>=1.2.0",
"langchain-community>=0.4.1",
"langchain-huggingface>=1.2.0",
"langchain-openai>=0.3.0",
"langchain-ollama>=0.3.0",
"pydantic-settings>=2.12.0",
"python-multipart>=0.0.20",
"python-dotenv>=1.0.0",
"rank-bm25>=0.2.2",
"docling>=2.31.0",
"sentence-transformers>=5.2.0",
"uvicorn>=0.38.0",
"torch>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"httpx>=0.27.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu121"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch", marker = "platform_system == 'Linux' and platform_machine == 'x86_64'" },
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["app"]
branch = true
[tool.coverage.report]
show_missing = true
fail_under = 60