File size: 1,519 Bytes
d8ff68d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
63
64
65
66
67
68
69
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
package = false

[project]
name = "acpc-chatbot-backend"
version = "1.0.0"
description = "Agentic RAG chatbot for ACPC Gujarat admissions"
requires-python = ">=3.11,<3.13"
dependencies = [
    "fastapi>=0.115.0",
    "uvicorn[standard]>=0.30.0",
    "python-dotenv==1.0.1",
    "pydantic>=2.10.0",
    "pydantic-settings>=2.10.0",
    "langchain>=0.3.0",
    "langchain-community>=0.4.0",
    "langchain-openai>=0.3.0",
    "langchain-cohere>=0.5.0",
    "langchain-qdrant>=0.2.0",
    "langgraph>=1.0.0",
    "llama-index",
    "llama-index-vector-stores-qdrant",
    "llama-index-embeddings-langchain",
    "pypdf",
    "qdrant-client==1.12.1",
    "tiktoken==0.8.0",
    "fastembed",
    "cohere>=5.0.0",
    "langfuse==2.57.1",
    "httpx==0.28.1",
    "python-multipart==0.0.19",
    "tenacity==9.0.0",
    "pytz==2024.2",
]

[dependency-groups]
dev = [
    "pytest>=8.0.0",
    "pytest-asyncio>=0.23.0",
    "pytest-cov>=4.1.0",
    "ruff>=0.3.0",
    "black>=24.0.0",
    "ragas>=0.1.0",
]

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"

[tool.ruff]
line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]

[tool.black]
line-length = 100
target-version = ["py311"]