From 3e6b756ad7fcc0f8837a87a45afc15f7e0d9e7fa Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 29 Mar 2024 12:53:23 +0000 Subject: [PATCH] feat(Update example): --- Readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Readme.md b/Readme.md index bec1c23..a002a88 100644 --- a/Readme.md +++ b/Readme.md @@ -14,6 +14,8 @@ Ultra-fast, Low Latency LLM security solution Github License

+ + ## Note ``` @@ -56,7 +58,25 @@ print(result) # Output: RiskModel(query='*', markers={'ExploitClassifier': '0.916992'}, score=2.0, passed=False, risk='high') ``` +available detectors: +```python +class Threat(Enum): + MixedLangMarker = 0 + InvisibleUnicodeDetector = 1 + MarkdownLinkDetector = 2 + HiddenTextDetector = 3 + Base64Detector = 4 + SecretsMarker = 5 + ProfanityDetector = 6 + PiiMarker = 7 + ExploitClassifier = 8 + ObfuscationDetector = 9 + CodeFilter = 10 + GibberishDetector = 11 + IntellectualPropertyLeak = 12 + +``` You can also try it in your browser with Google Colab: [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1-LYgF6N5O2ukfoOAXkITCBqbIiutY3H1?usp=sharing)