mlflow-genai-evaluation

Evaluate Databricks GenAI agents with MLflow GenAI LLM-as-judge scorers.

5|6|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/databricks-solutions/vibe-coding-workshop-template --skill mlflow-genai-evaluation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mlflow-genai-evaluation
Source: https://github.com/databricks-solutions/vibe-coding-workshop-template/tree/main/data_product_accelerator/skills/genai-agents/02-mlflow-genai-evaluation
Command: npx skills add https://github.com/databricks-solutions/vibe-coding-workshop-template --skill mlflow-genai-evaluation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the evaluation of Databricks GenAI agents by providing robust patterns for using MLflow's GenAI evaluation capabilities, ensuring agents meet quality and safety standards before deployment.

Core Features & Use Cases

  • LLM-as-Judge Evaluation: Implement sophisticated evaluation pipelines using LLM judges for nuanced quality assessment.
  • Custom Scorer Development: Create domain-specific evaluation metrics and integrate them seamlessly.
  • Production Monitoring Setup: Configure Unity Catalog trace ingestion for continuous monitoring of agent performance in production.
  • Use Case: Before deploying a customer support agent, use this Skill to run it against a benchmark dataset, evaluate its responses for accuracy, safety, and adherence to company guidelines, and automatically check if it meets predefined quality thresholds.

Quick Start

Use the mlflow-genai-evaluation skill to evaluate your agent's responses against a defined dataset and set of guidelines.

Frequently Asked Questions about mlflow-genai-evaluation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate GenAI agents using MLflow?

Evaluate GenAI agents using MLflow by implementing evaluation pipelines with the `mlflow.genai.evaluate()` function, utilizing LLM-as-judge scorers for nuanced quality assessment before deployment.

How do I create custom scorers for LLM evaluation?

Create custom scorers for LLM evaluation by developing domain-specific metrics and integrating them seamlessly using the `_extract_response_text()` helper to parse and evaluate agent responses.

How do I align LLM judges with domain feedback?

Align LLM judges with domain feedback by applying the MemAlign judge alignment patterns, ensuring evaluation metrics accurately reflect specific quality and safety standards.

Can I optimize evaluation prompts for GenAI agents?

Optimize evaluation prompts for GenAI agents by applying GEPA prompt optimization techniques, which refine scorer instructions to improve evaluation accuracy and threshold checking.

How do I set up production monitoring for Databricks GenAI agents?

Set up production monitoring for Databricks GenAI agents by configuring Unity Catalog trace ingestion, enabling continuous performance tracking and automated threshold checking for production readiness.

Does MLflow GenAI evaluation work with Databricks SDK?

MLflow GenAI evaluation works with the Databricks SDK by utilizing it for underlying LLM calls, allowing you to execute evaluation pipelines and metric aliases within the Databricks environment.