Skip to content

Commit 9514044

Browse files
minor fix
1 parent f947047 commit 9514044

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "detect-jailbreak"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
description = "A prompt-injection and jailbreak detector for LLMs."
55
authors = [
66
{name = "Guardrails AI", email = "[email protected]"},

validator/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from .models import PromptSaturationDetectorV3
1818

1919

20-
@register_validator(name="guardrails/detect-jailbreak", data_type="string")
20+
@register_validator(name="guardrails/detect_jailbreak", data_type="string")
2121
class DetectJailbreak(Validator):
2222
"""Validates that a prompt does not attempt to circumvent restrictions on behavior.
2323
An example would be convincing the model via prompt to provide instructions that

0 commit comments

Comments
 (0)