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
Recommended Evaluators
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
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:- Evaluator Rules: Configure built-in evaluators (Answer Relevance, Coherence, Conciseness) as Evaluator Rules in your Agentic Monitoring application. See Evaluator Rules.
- Custom Judges in Experiments: Run the Brand Voice Match judge as a recurring experiment against sampled production outputs to track brand compliance over time.
- Alerting: Set up alerts on evaluator score degradation to catch systemic quality drift after model updates or prompt changes.
Next Steps
- Building Custom Judge Evaluators — Deep-dive into
CustomJudgecapabilities - Evaluator Rules — Deploy evaluators in production
- Evals SDK Integration — Integration patterns for agentic workflows
Related: Evaluator Rules — Configure evaluators for production monitoring