Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

.

sid-muraliaea0a210a521
diff --git a/docs/docs/guardrails-introduction.mdx b/docs/docs/guardrails-introduction.mdx
index 336f1847..e3551148 100644
--- a/docs/docs/guardrails-introduction.mdx
+++ b/docs/docs/guardrails-introduction.mdx
@@ -151,10 +151,20 @@ guard_result = await guardrails.a_guard_output(input, output)
### Input
-To be documented...
+Input guards protect your LLM system by screening user inputs before they reach your model, preventing malicious prompts and unwanted content from being processed:
+
+- **[Prompt Injection Guard](/docs/guardrails-prompt-injection-guard)** - Detects and blocks prompt injection and jailbreaking attempts that try to manipulate the AI's behavior or bypass safety measures
+- **[Topical Guard](/docs/guardrails-topical-guard)** - Restricts conversations to specific allowed topics, preventing off-topic or unauthorized discussions
+- **[Cybersecurity Guard](/docs/guardrails-cybersecurity-guard)** - (When configured for input) Protects against cybersecurity threats and malicious technical instructions
### Output
-To be documented...
+Output guards evaluate your LLM's responses before they reach users, ensuring safe and appropriate content delivery:
+
+- **[Toxicity Guard](/docs/guardrails-toxicity-guard)** - Prevents toxic, harmful, abusive, or discriminatory content from being shared with users
+- **[Privacy Guard](/docs/guardrails-privacy-guard)** - Detects and blocks personally identifiable information (PII) and sensitive data from being exposed
+- **[Illegal Guard](/docs/guardrails-illegal-guard)** - Prevents the sharing of illegal activity instructions or content that violates laws
+- **[Hallucination Guard](/docs/guardrails-hallucination-guard)** - Detects and prevents fabricated, inaccurate, or hallucinated information in responses
+- **[Cybersecurity Guard](/docs/guardrails-cybersecurity-guard)** - (When configured for output) Ensures responses don't contain dangerous cybersecurity information or instructions
diff --git a/docs/sidebars.js b/docs/sidebars.js
index 65536b68..150a973c 100644
--- a/docs/sidebars.js
+++ b/docs/sidebars.js
@@ -139,54 +139,54 @@ module.exports = {
],
collapsed: false,
},
- // {
- // type: "category",
- // label: "Guardrails",
- // items: ["guardrails-introduction", {
- // type: "category",
- // label: "Guards",
- // items: [ "guardrails-prompt-injection-guard", "guardrails-toxicity-guard"],
- // collapsed: false,
- // }],
- // collapsed: false,
- // },
{
type: "category",
label: "Guardrails",
- className: "sidebar-item-icon-guardrails",
- items: [
- "guardrails-introduction",
- {
- type: "category",
- label: "Input Guards",
- items: [
- "guardrails-prompt-injection-guard",
- "guardrails-topical-guard",
- ],
- collapsed: true,
- },
- {
- type: "category",
- label: "Output Guards",
- items: [
- "guardrails-toxicity-guard",
- "guardrails-privacy-guard",
- "guardrails-illegal-guard",
- "guardrails-hallucination-guard",
- ],
- collapsed: true,
- },
- {
- type: "category",
- label: "Input/Output Guards",
- items: [
- "guardrails-cybersecurity-guard",
- ],
- collapsed: true,
- },
- ],
+ items: ["guardrails-introduction", {
+ type: "category",
+ label: "Guards",
+ items: [ "guardrails-prompt-injection-guard", "guardrails-toxicity-guard"],
+ collapsed: false,
+ }],
collapsed: false,
},
+ // {
+ // type: "category",
+ // label: "Guardrails",
+ // className: "sidebar-item-icon-guardrails",
+ // items: [
+ // "guardrails-introduction",
+ // {
+ // type: "category",
+ // label: "Input Guards",
+ // items: [
+ // "guardrails-prompt-injection-guard",
+ // "guardrails-topical-guard",
+ // ],
+ // collapsed: true,
+ // },
+ // {
+ // type: "category",
+ // label: "Output Guards",
+ // items: [
+ // "guardrails-toxicity-guard",
+ // "guardrails-privacy-guard",
+ // "guardrails-illegal-guard",
+ // "guardrails-hallucination-guard",
+ // ],
+ // collapsed: true,
+ // },
+ // {
+ // type: "category",
+ // label: "Input/Output Guards",
+ // items: [
+ // "guardrails-cybersecurity-guard",
+ // ],
+ // collapsed: true,
+ // },
+ // ],
+ // collapsed: false,
+ // },
{
type: "category",
label: "Guidelines & Frameworks",