Spaces:
Sleeping
Sleeping
Made dummy for IDScanner.py
Browse files
LLM/LLMGuard/InputScanners/IDScanner.py
CHANGED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from llm_guard.input_scanners import Regex
|
2 |
+
|
3 |
+
|
4 |
+
class IDScanner(Regex):
|
5 |
+
"""
|
6 |
+
A dummy for future IDScanner class. for now contains some boilerplate code
|
7 |
+
"""
|
8 |
+
|
9 |
+
def __init__(self):
|
10 |
+
super().__init__(r'\b\d{9}\b')
|