-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.28 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (42 loc) · 1.28 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "halludetect"
version = "0.1.0"
description = "Detect LLM hallucinations on any text — semantic entropy, SUScore and a hybrid, on Google Gemini."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Meriam Inoubli", email = "meriam.inoubli@dauphine.tn" }]
keywords = [
"hallucination-detection", "llm", "gemini", "semantic-entropy",
"uncertainty", "nlp", "ai-safety", "evaluation",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.24",
"scikit-learn>=1.3",
"scipy>=1.10",
"google-generativeai>=0.8.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
spacy = ["spacy>=3.7"]
dev = ["pytest>=8.0", "ruff>=0.6"]
[project.urls]
Homepage = "https://github.com/Meriam-Inoubli/hallucination-detector"
Issues = "https://github.com/Meriam-Inoubli/hallucination-detector/issues"
[project.scripts]
halludetect = "halludetect.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100