resk-llm-ts - v1.0.0
GitHub
npm
Preparing search index...
index
BaseDetector
Interface BaseDetector
interface
BaseDetector
{
name
:
string
;
category
:
ThreatCategory
;
enabled
:
boolean
;
detect
(
text
:
string
,
context
?:
Record
<
string
,
unknown
>
)
:
DetectionResult
;
}
Implemented by
AclDecisionTreeDetector
VectorSimilarityDetector
Index
Properties
name
category
enabled
Methods
detect
Properties
Readonly
name
name
:
string
Readonly
category
category
:
ThreatCategory
enabled
enabled
:
boolean
Methods
detect
detect
(
text
:
string
,
context
?:
Record
<
string
,
unknown
>
)
:
DetectionResult
Parameters
text
:
string
Optional
context
:
Record
<
string
,
unknown
>
Returns
DetectionResult
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
name
category
enabled
Methods
detect
Documentation
GitHub
npm
resk-llm-ts - v1.0.0
Loading...