What problem does it solve?
This Skill provides a comprehensive workflow for evaluating and optimizing the performance of LLM agents, ensuring high-quality outputs and effective observability.
Core Features & Use Cases
- End-to-End Evaluation: Supports the complete evaluation workflow, including dataset creation, scorer definition, and result analysis.
- Scorer Registration: Utilizes MLflow's scorer API to register and apply quality scorers to evaluate agent performance.
- Dataset Preparation: Offers tools for discovering existing datasets and creating new ones tailored to the agent's purpose.
- Dry Run: Performs a preliminary evaluation on a small subset of the dataset to identify and resolve potential issues before running the full evaluation.
- Evaluation Execution: Executes the evaluation using MLflow's evaluate API, ensuring traceability and observability.
- Result Analysis: Analyzes the evaluation results, identifying areas for improvement and providing actionable recommendations.
- Use Case: Suppose you have an LLM agent designed to answer questions about medical information. Use this Skill to evaluate its accuracy, identify common errors, and optimize its responses for improved reliability.
Quick Start
Run the following command to evaluate your agent: uv run python scripts/run_evaluation_template.py --module my_agent.agent --entry-point run_agent --dataset-name my-dataset