-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (82 loc) · 1.94 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (82 loc) · 1.94 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agentic-eval"
version = "0.1.0"
description = "Evaluation framework for LLM-powered agentic systems — faithfulness, relevance, precision, consistency, and latency/quality tradeoff"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [{ name = "Sarala Biswal" }]
dependencies = [
# Core
"pydantic>=2.7.0",
"pydantic-settings>=2.3.0",
"python-dotenv>=1.0.1",
# Async HTTP
"httpx>=0.27.0",
# Evaluation frameworks
"ragas>=0.1.14",
"deepeval>=0.21.0",
# Embeddings (local, no API key)
"sentence-transformers>=3.0.1",
"torch>=2.3.0",
# LLM client
"litellm>=1.40.0",
"openai>=1.30.0",
# Data
"numpy>=1.26.4",
"scipy>=1.13.1",
"pandas>=2.2.2",
# Reporting
"jinja2>=3.1.4",
"plotly>=5.22.0",
"rich>=13.7.1",
# API
"fastapi>=0.111.0",
"uvicorn[standard]>=0.30.1",
"sse-starlette>=2.1.0",
# Config
"pyyaml>=6.0.1",
# Observability
"structlog>=24.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.2.2",
"pytest-asyncio>=0.23.7",
"pytest-cov>=5.0.0",
"factory-boy>=3.3.0",
"faker>=25.8.0",
"respx>=0.21.1",
"mypy>=1.10.0",
"ruff>=0.4.9",
"types-pyyaml>=6.0.12",
]
[project.scripts]
demo = "eval.demo:main"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = [
"--cov=eval",
"--cov-report=term-missing",
"--cov-fail-under=75",
"-v",
]
[tool.mypy]
python_version = "3.12"
strict = true
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "ANN", "SIM"]
ignore = ["ANN101", "ANN102", "ANN401", "B008"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "S101"]
[tool.hatch.build.targets.wheel]
packages = ["eval"]