Databricks MLflow GenAI Evaluation

•
1.6k
•

Evaluates and optimizes GenAI agents using MLflow 3, featuring custom scorers, trace analysis, and automated prompt improvement.

This skill provides a comprehensive framework for assessing and enhancing GenAI application quality within the Databricks ecosystem using MLflow 3. It guides developers through building evaluation datasets from production traces, implementing sophisticated built-in or custom scorers, and aligning LLM judges with domain expert feedback via MemAlign. By integrating automated prompt optimization (GEPA) and Unity Catalog trace ingestion, it enables a complete lifecycle from initial agent debugging to continuous production monitoring and iterative performance improvement.

主な機能

01Expert-aligned judge scoring with MemAlign and labeling sessions
02Detailed trace analysis for latency profiling and token usage optimization
031,643 GitHub stars
04End-to-end GenAI agent evaluation using mlflow.genai.evaluate()
05Automated system prompt improvement using GEPA and optimize_prompts()
06Production-ready trace ingestion and monitoring via Unity Catalog

ユースケース

01Optimizing agent latency and costs by analyzing context usage and trace spans
02Aligning LLM judges to match specific domain expertise and organizational standards
03Establishing a regression testing suite to compare different agent versions and models