Skip to content

Guardrails

Dev Doshi edited this page Jun 18, 2026 · 2 revisions

VaultMind implements safety controls before and after generation.


Input Guardrails

Checks:

  • Prompt Injection
  • Jailbreak Attempts
  • Unsafe Instructions
  • Irrelevant Queries

Methods:

  • Rule-Based Detection
  • LLM Validation

Context Guardrails

Checks:

  • Context Size
  • Token Budget

Configuration:

max_context_tokens = 1000

Output Guardrails

Checks:

  • PII Exposure
  • Unsafe Content
  • Hallucinated Information

Actions:

  • Redaction
  • Blocking
  • Rewriting

Clone this wiki locally