What problem does it solve?
Evaluating GenAI models and agents is hard: teams often lack test data, don't know which metrics to use, and struggle to turn low scores into concrete fixes. This Skill provides an end-to-end evaluation workflow using the Google GenAI Evaluation SDK, from dataset creation through iterative quality improvement.
Core Features & Use Cases
- Dataset Creation: Build evaluation datasets from ADK session traces or generate synthetic user scenarios for cold-start situations, using canonical types like EvalCase, AgentData, and ConversationTurn.
- Metric Selection & Customization: Choose from predefined AutoRater metrics (hallucination_v1, tool_use_quality_v1, multi_turn_task_success_v1), computation metrics (exact_match, rouge_l_sum), or write custom LLMMetric and CodeExecutionMetric judges.
- Result Analysis & Iteration: Execute evals via client.evals.evaluate(), analyze rubric verdicts and failure patterns, and apply targeted prompt or agent-code fixes in a measurable improvement loop.
- Use Case: A RAG agent scores 0.45 on hallucination. The Skill identifies the grounding failure, suggests system-prompt fixes from its failure-pattern reference, and re-runs the eval to verify improvement.
Quick Start
Ask the assistant to evaluate your agent or model with the Vertex Evaluation SDK, providing your GCP project ID and location when prompted.