Skip to main content
Ensure quality, safety, and brand compliance in content generation agents using a combination of Fiddler’s built-in evaluators for baseline quality and custom CustomJudge evaluators for domain-specific governance. Use this cookbook when: You have content generation agents (writing reports, customer communications, marketing copy) and need automated quality gates to replace manual review of every draft. Time to complete: ~20 minutes
Prerequisites
  • Fiddler account with API access
  • LLM credential configured in Settings > LLM Gateway
  • pip install fiddler-evals pandas

The Content Generation Challenge

Enterprise content generation agents produce volume that exceeds human review capacity. Without automated quality gates, teams face:
  • Reviewer fatigue — manually reviewing hundreds of drafts per day
  • Inconsistent quality — different reviewers apply different standards
  • Brand drift — subtle changes in tone or style go undetected
The solution: combine Fiddler’s built-in evaluators (quality, safety) with custom LLM-as-a-Judge evaluators (brand voice, compliance) for automated governance.

Built-In Evaluators (Baseline Quality)

Custom Evaluators (Domain-Specific Governance)


1

Set Up Built-In Evaluators

Replace URL, TOKEN, and credential names with your Fiddler account details. Find your credentials in Settings > Access Tokens and Settings > LLM Gateway.
2

Create a Brand Voice Match Judge

Use CustomJudge to evaluate content against your company’s style guide:
See Building Custom Judge Evaluators for a deep-dive into prompt_template, output_fields, and iterative prompt improvement.
3

Evaluate Generated Content

Expected output:
4

Build a Quality Gate

Combine evaluator scores into an automated quality gate that flags content for human review:
Expected output:

Production Monitoring

To deploy these evaluators in production:
  1. Evaluator Rules: Configure built-in evaluators (Answer Relevance, Coherence, Conciseness) as Evaluator Rules in your Agentic Monitoring application. See Evaluator Rules.
  2. Custom Judges in Experiments: Run the Brand Voice Match judge as a recurring experiment against sampled production outputs to track brand compliance over time.
  3. Alerting: Set up alerts on evaluator score degradation to catch systemic quality drift after model updates or prompt changes.

Next Steps


Related: Evaluator Rules — Configure evaluators for production monitoring