mlflow-evaluation

Automate GenAI evaluation of ML agents with MLflow workflows.

1.8k|404|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill mlflow-evaluation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mlflow-evaluation
Source: https://github.com/databricks-solutions/ai-dev-kit/tree/main/databricks-skills/mlflow-evaluation
Command: npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill mlflow-evaluation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides an end-to-end GenAI evaluation framework for ML agents using MLflow GenAI evaluation workflows, enabling structured assessment across multiple dimensions.

Core Features & Use Cases

  • End-to-end evaluation orchestration using mlflow.genai.evaluate with datasets, scorers, and trace analysis
  • Support for safety, correctness, relevance, and grounding checks across traces, datasets, scorers, and reference guidance
  • Standardized evaluation runs and cross-version comparisons for CI/CD, experimentation, and benchmarking

Quick Start

  1. Install MLflow with Databricks extras: pip install "mlflow[databricks]>=3.x" (adjust to your environment)
  2. Prepare evaluation data and a local predict_fn wrapper for your agent
  3. Run an evaluation: mlflow.genai.evaluate(data=eval_data, predict_fn=predict_fn, scorers=[...])

Frequently Asked Questions about mlflow-evaluation

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

FAQPage Schema
How do I evaluate GenAI agents for safety and grounding using MLflow?

MLflow GenAI evaluation enables safety, correctness, relevance, and grounding checks by orchestrating traces, evaluation datasets, scorers, and reference guidance to produce repeatable assessment runs across multiple dimensions.

What do I need to run end-to-end GenAI evaluation workflows with MLflow?

You need a Python environment with MLflow installed, prepared evaluation data, a local predict_fn wrapper for your agent, and configured scorers to execute end-to-end GenAI evaluation runs successfully.

Can I use Databricks integrations for MLflow GenAI evaluation runs?

Yes, MLflow GenAI evaluation supports optional Databricks integrations. You can install MLflow with Databricks extras to enable connected tracking and evaluation runs within your Databricks environment.

How does benchmarking ML agents work with mlflow.genai.evaluate?

Benchmarking with mlflow.genai.evaluate works by running standardized evaluation runs across agent versions, using consistent datasets and scorers to compare results for CI/CD, experimentation, and benchmarking.

What's the best way to compare agent performance across versions in CI/CD?

The best way to compare agent performance is using mlflow.genai.evaluate to run standardized evaluation runs with consistent datasets and scorers, enabling cross-version comparisons for CI/CD and benchmarking.

What are the limitations of running MLflow GenAI evaluation workflows?

MLflow GenAI evaluation workflows require a pre-configured Python environment with MLflow installed and properly prepared evaluation datasets, limiting quick ad-hoc usage without upfront environment and data preparation.