Files
wehub-resource-sync 3cd11ababe
Check Markdown links / linkChecker (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:38:56 +08:00

66 lines
1.6 KiB
JSON

{
"id": "promptfoo",
"description": "Promptfoo's Red Team and Guardrails API helps detect security risks, PII, and harmful content in LLM interactions",
"credentials": {
"type": "object",
"properties": {},
"required": []
},
"functions": [
{
"name": "Guard Check",
"id": "guard",
"supportedHooks": ["beforeRequestHook"],
"type": "guardrail",
"description": [
{
"type": "subHeading",
"text": "Detect injection and jailbreak attempts"
}
],
"parameters": {}
},
{
"name": "PII Detection",
"id": "pii",
"supportedHooks": ["beforeRequestHook", "afterRequestHook"],
"type": "guardrail",
"description": [
{
"type": "subHeading",
"text": "Detect personally identifiable information (PII) in text"
}
],
"parameters": {
"type": "object",
"properties": {
"redact": {
"type": "boolean",
"label": "Redact PII",
"description": [
{
"type": "subHeading",
"text": "If true, the PII identified will be redacted"
}
],
"default": false
}
}
}
},
{
"name": "Harm Detection",
"id": "harm",
"supportedHooks": ["beforeRequestHook", "afterRequestHook"],
"type": "guardrail",
"description": [
{
"type": "subHeading",
"text": "Detect potentially harmful content across multiple categories"
}
],
"parameters": {}
}
]
}