diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..2d560fa8 --- /dev/null +++ b/404.html @@ -0,0 +1,1236 @@ + + + +
+ + + + + + + + + + + + + + + + + + +LLM Guard can be extended to support new scanners, and to support additional models for the existing. These scanners could be added via code or ad-hoc as part of the request.
+Note
+Before writing code, please read the contributing guide.
+llm_guard/input_scanners
that inherits from base.Scanner
and implements the scan
method. The scan
method should return a tuple str, bool, float
.tests/input_scanners
.llm_guard/input_scanners/__init__.py
__all__
enum.docs/input_scanners
folder and add a link to the mkdocs.yml
file.README.md
, and update the CHANGELOG.md
file.llm_guard/output_scanners
that inherits from base.Scanner
and implements the scan
method. The scan
method should return a tuple str, bool, float
.tests/output_scanners
.llm_guard/output_scanners/__init__.py
__all__
enum.docs/output_scanners
folder and add a link to the mkdocs.yml
file.README.md
, and update the CHANGELOG.md
file.Info
+You can use existing scanners as a reference.
+{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var _a=/["'&<>]/;Pn.exports=Aa;function Aa(e){var t=""+e,r=_a.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i