Skip to content

🌐 เอกสารภาษาไทยกำลังจัดทำ — เนื้อหาด้านล่างเป็นภาษาอังกฤษชั่วคราว จนกว่าจะมีการแปล. This page is not yet translated; English content is shown temporarily.

Guardrails

Guardrails screen every request before it reaches a model, in your cluster. They block sensitive-data leakage and prompt-injection attempts, and a blocked request never incurs provider cost.

Who can do this

Org admins (for their organization) and platform admins, on Projects → Guardrails.

Types of guardrail

GuardrailWhat it doesConfigured on
PII maskingRedacts sensitive data (email, phone, IP, keys) in requestsPlatform/operator config (opt-in)
Prompt-injection (pattern)Blocks requests matching jailbreak / system-prompt-leak patternsGuardrails tab
Semantic prompt-injectionBlocks requests by meaning, not just keywordsSemantic guard

PII masking is opt-in

PII masking is an opt-in capability enabled by the platform operator (it can interact with streaming responses). Ask your platform engineer to enable it where required — see Hardening.

Add a prompt-injection rule

  1. Open Projects → Guardrails.
  2. Click Add pattern — choose one from the curated library, or enter a custom regular expression.
  3. Save. The control plane validates the pattern (rejecting unsafe ones) and reconciles it to the gateway.

The Guardrails tab — per-project prompt-injection patterns

Safe patterns only

The control plane rejects regular expressions that could be unsafe (e.g. catastrophic backtracking) so a bad rule can never destabilize the data plane.

Review what's being blocked

The Guardrail blocks screen (Organization section) lists every blocked request across the org — the consumer, the project, and the rule that matched — and flags those a member reported as a false positive, so you can tune the rules.

Organization guardrail blocks — who was blocked, the matched rule, and the snippet

Next steps

Enterprise AI governance, on infrastructure you own.