[SSN REDACTED]. This happens silently in the background — users see a clean response with the sensitive content removed rather than an error or a blocked response.
Configuring guardrails is an admin-only action and the settings apply to all users in your city workspace.
Why guardrails matter for government use
Municipal documents often include residents’ personal information — names alongside dates, identification numbers in permit applications, contact details in public comments, and financial data in contracts. Even when the AI is summarizing a document rather than quoting it directly, there is a risk that sensitive details could surface in responses. Guardrails provide a city-wide safety net that runs automatically on every response, so staff do not need to manually review AI output for accidental PII disclosure.PII types available
Guardrails are organized into four categories. Each individual type can be enabled or disabled independently.Government IDs
Government IDs
| Label | What is detected |
|---|---|
| Social Security Number (SSN) | Nine-digit SSNs in XXX-XX-XXXX format |
| Driver’s license number | State-issued driver’s license numbers |
| Passport number | Passport document numbers |
| Taxpayer ID number (ITIN) | Individual Taxpayer Identification Numbers (9xx-XX-XXXX) |
| Employer Identification Number (EIN) | Federal EINs in XX-XXXXXXX format |
Financial information
Financial information
| Label | What is detected |
|---|---|
| Credit/debit card numbers | 16-digit card numbers validated with the Luhn algorithm |
| CVV/CVC codes | Card security codes in an explicit card context |
| Bank account numbers | Account numbers explicitly labeled as a bank or deposit account |
| Routing numbers | Nine-digit ABA routing numbers validated by checksum |
| IBAN numbers | International Bank Account Numbers |
| SWIFT/BIC codes | Bank identifier codes in a financial context |
Account credentials
Account credentials
| Label | What is detected |
|---|---|
| Passwords | Values following a password: or passwd= pattern |
| Authentication codes (OTP/MFA) | One-time codes explicitly labeled as verification or login codes |
Personal information
Personal information
| Label | What is detected |
|---|---|
| Date of birth | Dates explicitly marked with a birth-date signal (DOB, “born on”, etc.) |
| Email addresses | Standard email address format |
| Phone numbers | Personal phone numbers (not office extensions or reference codes) |
| Street addresses | Private residential addresses |
| GPS coordinates | Coordinates tied to a specific individual’s location |
| License plate numbers | Vehicle license plates |
The Personal Information category is disabled by default for new city workspaces. These types — especially email addresses, phone numbers, and street addresses — appear frequently in public municipal documents and can produce false positives that interfere with legitimate responses. Enable them only if your city’s documents contain private residential data that should not surface in AI responses.
Always-on labels
Two labels are permanently enabled and cannot be disabled:- Social Security Number (SSN)
- Credit/debit card numbers
Configuring guardrails
Open Guardrails settings
Navigate to Settings → Guardrails. You will see all PII types organized by category, each with a toggle.
Enable or disable labels
Toggle individual labels on or off. Always-on labels (SSN and credit card) have a fixed toggle that cannot be changed.
How guardrails affect responses
When an AI response contains content that matches an enabled PII label, Prophecy Gov replaces the matched text with a clearly labeled placeholder before the response is displayed. Examples:123-45-6789becomes[SSN REDACTED]- A credit card number becomes
[CARD REDACTED] - A personal phone number (when enabled) becomes
[PHONE REDACTED]
