docs: Remove outdated Guardrails workflow diagram from README for clarity

This commit is contained in:
Shubhamsaboo
2025-08-27 18:38:18 -05:00
parent 1d18103dfa
commit 291da96868

View File

@@ -21,39 +21,6 @@ Guardrails are **automated safety mechanisms** that validate inputs and outputs
- Ensure compliance with content policies
- Provide automatic error handling and user feedback
```
┌─────────────────────────────────────────────────────────────┐
│ GUARDRAILS WORKFLOW │
├─────────────────────────────────────────────────────────────┤
│ │
│ USER INPUT │
│ │ │
│ ▼ │
│ ┌─────────────┐ 1. INPUT VALIDATION │
│ │ INPUT │ ◦ Check content safety │
│ │ GUARDRAILS │ ◦ Validate business rules │
│ └─────────────┘ ◦ Filter inappropriate requests │
│ │ │
│ ▼ 2. PASS/BLOCK DECISION │
│ ┌─────────────┐ │
│ │ AGENT │ ✅ PASS: Continue to agent
│ │ PROCESSING │ 🚫 BLOCK: Throw exception
│ └─────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────┐ 3. OUTPUT VALIDATION │
│ │ OUTPUT │ ◦ Safety check responses │
│ │ GUARDRAILS │ ◦ Filter sensitive information │
│ └─────────────┘ ◦ Ensure policy compliance │
│ │ │
│ ▼ 4. FINAL DECISION │
│ ┌─────────────┐ │
│ │ FINAL │ ✅ SAFE: Return to user │
│ │ RESPONSE │ 🚫 UNSAFE: Block and handle │
│ └─────────────┘ │
└─────────────────────────────────────────────────────────────┘
```
## 🚀 Key Guardrails Concepts
### **Input Guardrails**