-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
48 lines (41 loc) · 1.11 KB
/
pyproject.toml
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
[tool.poetry]
name = "last_layer"
version = "0.1.33"
description = "Ultra-fast, Low Latency LLM security solution"
authors = ["Last Layer <[email protected]>"]
maintainers = ["Last Layer <[email protected]>"]
repository = "https://github.com/lastlayer/last_layer"
license = "MIT"
readme = "Readme.md"
keywords = [
"llm",
"language model",
"security",
"adversarial attacks",
"prompt injection",
"prompt leakage",
"prompt injection attacks",
"prompt leakage prevention",
"PII detection",
"self-hardening",
]
packages = [{ include = "last_layer", from = "." }]
include = ["last_layer/lib/*.so"]
[tool.poetry.scripts] # Include the library.so file explicitly
last_layer = "last_layer.__main__:entrypoint"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
black = ">=23.10.1,<25.0.0"
mypy = "^1.6.1"
pytest = ">=7.4.3,<9.0.0"
pre-commit = "^3.7.0"
hypothesis = "^6.99.13"
optuna = "^3.1.0"
langchain-community = ">=0.0.31,<0.0.35"
langchain-contrib = "^0.0.4"
[tool.ruff]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"