Technology

Databricks adds AI guardrails

Databricks introduces Unity AI Gateway Guardrails, offering pre-built and custom controls to secure AI applications against data leaks and harmful outputs.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

3 min read

Databricks logo with abstract AI network visualization
Databricks Unity AI Gateway Guardrails provide essential security layers for AI applications.
Visual TL;DR
AI RisksDriver
From the article 2 mentionsThe move comes as organizations grapple with the risks associated with AI deployment.
Governed AIEffect
fundamental governance and security layer for AI
Databricks Unity AICore
new controls for AI applications
From the article 9 mentionsThe company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.
AI Gateway GuardrailsCore
From the article 9+ mentionsThe company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.
Pre-built & Custom ControlsContext
pre-built and custom controls to secure AI applications
Prevent Data LeaksContext
protecting sensitive company data from being exposed to models
Prevent Harmful OutputsContext
preventing AI from generating harmful or offensive content
From the articleUnsafe Content Blocking: Blocks harmful or unsafe outputs.
Brand AlignmentContext
From the articleThese guardrails serve multiple purposes: protecting sensitive company data from being exposed to models, preventing AI from generating harmful or offensive content, and ensuring that AI-generated text aligns with brand guidelines.
Secure AI AppsOutcome
secure AI applications against risks
Contents(3)

Databricks is rolling out a new set of controls for its AI applications, aiming to prevent security breaches and ensure compliance. The company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.

The move comes as organizations grapple with the risks associated with AI deployment. Databricks highlights that governing AI usage is complex, citing its own AI Security Framework which lists dozens of risks and controls. LLM guardrails are presented as a fundamental governance and security layer.

These guardrails serve multiple purposes: protecting sensitive company data from being exposed to models, preventing AI from generating harmful or offensive content, and ensuring that AI-generated text aligns with brand guidelines. They can also keep conversational AI focused on specific topics.

Databricks is rolling out a new set of controls for its AI applications, aiming to prevent security breaches and ensure compliance. The company announced the beta release of Unity AI Gateway Guardrails, a feature designed to provide flexible oversight of AI model and agent behavior.

Governing Generative AI for Marketing

Consider Acme Co., a fictional marketing firm using an AI assistant for campaign drafting. Their CIO mandates strict policies: no customer Personally Identifiable Information (PII) in prompts, screening for jailbreaks and prompt injection, and prohibiting harmful content generation.

Additionally, Acme wants to avoid disparaging competitors in campaign materials. To achieve this, the AI platform team configures a Unity AI Gateway Endpoint.

Building a Governed AI Endpoint

The team selects a general-purpose model and sets up inference tables for monitoring. They map business requirements to specific guardrail types:

  • PII Detection & Redaction: Sanitizes input to prevent PII leakage.
  • Jailbreak & Prompt Injection: Blocks input attempts to manipulate the AI.
  • Unsafe Content Blocking: Blocks harmful or unsafe outputs.
  • Custom Block: A tailored guardrail to prevent naming or disparaging competitors.

Setting up built-in guardrails involves selecting the type, configuring actions like redaction or blocking, and optionally adjusting the evaluator model for performance or cost. A log mode is available for testing new guardrails on live traffic without disruption.

Custom guardrails require more detailed prompts, specifying the business context, competitor names, and providing few-shot examples. The effectiveness of these custom guardrails can depend on the chosen evaluator model, with Databricks suggesting iterative refinement based on performance and cost.

Testing and Auditing Guardrails

The Acme team tests the endpoint with various prompts, observing guardrail behavior. Prompts containing PII are sanitized, while attempts at jailbreaking or generating disparaging content are blocked.

The testing revealed that custom guardrails needed refinement. Iterations on the prompt, along with switching to a more capable evaluator model like GPT-5.4-mini, improved reliability. Databricks recommends capturing live traffic data to further tune custom guardrails for precision, recall, cost, and latency.

Guardrail activity is logged in inference tables, providing detailed insights into request status, token usage, and evaluator responses. These tables allow for tracing guardrail decisions back to client calls, enabling the creation of reports and dashboards for usage analysis and troubleshooting.

This granular visibility helps in validating user sessions if guardrails prove overly sensitive.

LLM Guardrails in Unity AI Gateway are now in beta, encouraging users to implement them for endpoints handling sensitive data or customer-facing outputs.

Mentioned in this story

TopicsDatabricksAIGenerative AIAI GovernanceMachine LearningSecurityLLMUnity AI Gateway

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.