resk-llm-ts - v1.0.0
GitHub
npm
Preparing search index...
index
DetectionResult
threat
Function threat
threat
(
detector
:
string
,
category
:
ThreatCategory
,
options
?:
{
severity
?:
Severity
;
confidence
?:
number
;
reason
?:
string
;
matches
?:
DetectorMatch
[]
;
sanitizedInput
?:
string
|
null
;
}
,
)
:
DetectionResult
Parameters
detector
:
string
category
:
ThreatCategory
Optional
options
:
{
severity
?:
Severity
;
confidence
?:
number
;
reason
?:
string
;
matches
?:
DetectorMatch
[]
;
sanitizedInput
?:
string
|
null
;
}
Returns
DetectionResult
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Documentation
GitHub
npm
resk-llm-ts - v1.0.0
Loading...