Ejento AI
Guides
QuickstartRecipesREST APIsRelease NotesFAQs
Guides
QuickstartRecipesREST APIsRelease NotesFAQs
Ejento AI
  1. Guides
  • Basic Operations
    • Features
      • Organization → Projects → Assistants → Teams Hierarchy
    • Guides
      • Login/Signup
  • Assistants
    • Overview
    • Features
      • Assistant Access Control
      • Assistant Evaluation
      • Evaluation Metrics
      • URL-based Chat Thread Creation and Prepopulation
      • Reasoning Patterns
      • Staging & Publishing
    • Guides
      • Add Assistant
      • Evaluate Assistant
      • Edit Assistant
      • Assistant Edit Access
      • Embed Assistant
      • Delete Assistant
      • Add Favourite Assistants
      • View Assistant Id
      • Voice Calling with Assistants
  • Corpus
    • Overview
    • Features
      • Corpus Permissions
      • PII Redaction
      • ETag Setup for Corpus Incremental Refresh
    • Guides
      • Assistant Corpus Setup
      • Assistant Corpus Settings
      • Corpus Access Control
      • Corpus Connections
      • View Corpus Id
      • View Document Id
      • Tagging
        • Corpus tagging
        • Document tagging
  • Teams
    • Overview
    • Guides
      • Add a Team
      • Edit a Team
      • Delete a Team
      • View Team Id
  • Projects
    • Overview
    • Guides
      • Add a Project
      • Edit a Project
      • Managing Assistants in a Project
      • Delete a Project
      • View Project Id
  • User Settings
    • Overview
    • Features
      • Ejento AI User Access Levels
    • Guides
      • Add new user
      • Invite Users via Link or Email
      • View my User Id
  • API Keys
    • Overview
    • Guides
      • How to generate API Key and Auth Token
  • Workflows
    • Overview
    • Features
      • Workflow Access Control
    • Guides
      • Add Workflow
      • Workflow Chat
      • Workflow Edit Access
  • Tools
    • Overview
    • Guides
      • Tools Overview
      • Create External Tool
      • Connect Tool to Assistant
  • Analytics
    • Overview
    • Guides
      • Analyzing Data in the Analytics Dashboard
  • Chatlogs
    • Overview
    • Guides
      • Managing Chatlogs
      • View Chatlog & Chat thread Id
  • Integrations
    • Overview
    • Guides
      • Email Indexing
      • Microsoft Teams
      • Sharepoint Indexing
      • Google Drive Connector
      • MS Teams Integration Setup
      • Creating a Connection in Credential Manager
      • Slack App
      • Discord Bot
  • Ejento AI Shield
    • Overview
    • Features
      • Understanding Guardrails
    • Guides
      • How to enable Guardrails
  • Assistant Security
    • Overview
    • Features
      • Assistant Red Teaming
    • Guides
      • Red Team an Assistant
  • Permission Sets
    • Overview
    • Guides
      • Add Permission Set
  • Usage
    • Overview
    • Guides
      • Set Spend Limits
  1. Guides

How to enable Guardrails

Turn on guardrails for an assistant: safety filters that keep its conversations on topic, block harmful requests and jailbreak attempts, reduce made-up answers, and hide personal information. You choose the guardrails in Staging, set them up, and deploy them so they protect the live assistant.

How guardrails work#

Ejento AI has five guardrails. You turn each one on or off per assistant, in the Guardrails section of the assistant's Configuration panel:
GuardrailWhat it doesSettings
Topical ControlControls what topics the assistant can discuss, based on guidelines you write.Yes: your guidelines
Ethical ModerationKeeps responses ethically sound, for example by refusing harmful or illegal requests.None, on or off
Jailbreak DetectionStops attempts to trick the assistant into ignoring its rules (prompt injection and jailbreaks).None, on or off
HallucinationReduces made-up information in responses.None, on or off
PII RedactionHides personally identifiable information, such as names, phone numbers, and email addresses.Yes: which kinds of information to hide
Guardrail changes work like any other change to an assistant: each switch you turn on is saved to Staging right away, and people only get the protection after you deploy. For a detailed explanation of each guardrail, see Understanding Guardrails.

Use cases#

IT help desk: Turn on Topical Control with guidelines such as "Only answer questions about IT support" and "Do not give financial, legal, or medical advice," so the assistant stays in its lane. Add Jailbreak Detection so users can't talk it out of those rules.
HR assistant handling personal data: Turn on PII Redaction so names, addresses, and bank details are hidden. Exclude your company name so it isn't redacted in every answer.
Public-facing assistant: Before making an assistant available to everyone, turn on Ethical Moderation and Jailbreak Detection as a baseline.

1. Open your assistant#

In the sidebar, click Assistants. Search for your assistant, then click the chat icon (Chat with assistant) in its Actions column.
Step 1 screenshot

2. Switch to Staging#

At the top right, click Staging. You change guardrails in Staging; they reach the live assistant when you deploy. If the assistant already opens in Staging, skip this step.
Step 2 screenshot

3. Turn on the guardrails you need#

In the Configuration panel on the right, click Guardrails, then turn on the switch next to each guardrail you want. The message Enabled guardrail successfully appears each time, and the change counter next to Deploy goes up.
Ethical Moderation, Jailbreak Detection, and Hallucination need nothing else. Topical Control and PII Redaction show a + icon once they're on; set them up in the next two steps.
Step 3 screenshot

4. Write the Topical Control guidelines#

Click the + icon next to Topical Control. In Add Guidelines, type one rule per line, for example "Only answer questions about IT support" or "Do not give financial, legal, or medical advice." Press Enter to start a new line, or click the × next to a line to remove it. Then click Save. The message Topical Control guidelines updated successfully appears.
Write guidelines as clear instructions about what the assistant may and may not discuss. Questions outside them are blocked.
Step 4 screenshot

5. Choose what PII Redaction hides#

Click the + icon next to PII Redaction. The window has two tabs:
Redact categories: check the kinds of information to hide. All categories are selected at first: Person, PersonType, LicensePlate, SortCode, PhoneNumber, Organization, Address, Email, URL, IPAddress, DateTime, BankAccountNumber, DriversLicenseNumber, and PassportNumber. Clear the ones you want to keep visible; for example, clear Organization and DateTime if answers need company names and dates. Click View supported PII entities to see what each category covers.
Exclude specific terms: under Values to never redact, enter words that should always stay visible, such as your company or product name.
Click Confirm. The message Updated categories for PII guardrail appears.
Step 5 screenshot

6. Deploy the guardrails#

Click Deploy. The Deploy to Production window lists the guardrails under Guardrails. Optionally add a Description, then click Deploy Changes. The message Successfully deployed to production appears, and the guardrails now protect the live assistant.
Step 6 screenshot
Previous
Understanding Guardrails
Next
Assistant Security