What problem does it solve?
This Skill solves the complexity of evaluating, monitoring, and improving GenAI agents built on Databricks. It eliminates guesswork by providing exact API patterns, common pitfalls, and end-to-end workflows for MLflow 3 GenAI evaluation, so developers can confidently measure agent quality, diagnose issues from traces, and systematically improve prompts using domain expert feedback.
Core Features & Use Cases
- End-to-End Evaluation Workflows: Step-by-step guidance for first-time setup, production trace analysis, regression detection, custom scorer development, and performance optimization using the mlflow.genai.evaluate() API.
- Production Monitoring & Trace Ingestion: Patterns for storing traces in Unity Catalog, instrumenting Databricks Apps and Model Serving endpoints, and running continuous quality monitoring with automated scorers.
- Judge Alignment & Prompt Optimization: Workflows for aligning LLM judges with domain expert preferences using MemAlign, and automatically improving system prompts with GEPA and the optimize_prompts() function based on aligned judge feedback.
Quick Start
Use the databricks-mlflow-evaluation skill to run your first agent evaluation by importing your agent, defining a predict function, and calling mlflow.genai.evaluate() with built-in scorers like Safety and Guidelines against a small dataset of test inputs.