8 Commits

Author SHA1 Message Date
George Weale 0c67410a66 fix(samples): widen numeric tool parameters to match their docstrings
Co-authored-by: George Weale <gweale@google.com>
PiperOrigin-RevId: 965383656
2026-08-15 21:02:06 -07:00
Haran Rajkumar 481fe21cff feat: Add user_simulation ADK eval sample
Add contributing/samples/evaluation/user_simulation/, demonstrating
hallucinations_v1 and per_turn_user_simulator_quality_v1 with a dynamically
simulated user, run via `adk eval` over the shared home-automation agent.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952613097
2026-07-23 02:01:05 -07:00
Haran Rajkumar 852a66ad62 feat: Add rubric_criteria ADK eval sample
Add contributing/samples/evaluation/rubric_criteria/, demonstrating
rubric_based_final_response_quality_v1 and rubric_based_tool_use_quality_v1
run via `adk eval` over the shared home-automation agent.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952612418
2026-07-23 01:59:46 -07:00
Haran Rajkumar 0f0fa6bb4a feat: Add llm_judge_match ADK eval sample
Add contributing/samples/evaluation/llm_judge_match/, demonstrating
final_response_match_v2 (LLM-judged semantic response match) run via
`adk eval` over the shared home-automation agent.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952611733
2026-07-23 01:58:23 -07:00
Haran Rajkumar f71d9df917 feat: Add custom_metric ADK eval sample
Add contributing/samples/evaluation/custom_metric/, demonstrating a
user-defined temperature_safety_score metric plugged into `adk eval` over the
shared home-automation agent.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952602145
2026-07-23 01:36:06 -07:00
Haran Rajkumar 57a34ba77a feat: Add test_file_vs_evalset ADK eval sample
Add contributing/samples/evaluation/test_file_vs_evalset/, showing that
.test.json and .evalset.json share the same EvalSet schema and both run via
`adk eval`: a single-turn .test.json and a multi-session .evalset.json over
the shared home-automation agent.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952586726
2026-07-23 01:01:36 -07:00
Haran Rajkumar fdebd9d563 feat: Add basic_criteria ADK eval sample
Add contributing/samples/evaluation/basic_criteria/, demonstrating the
deterministic built-in metrics tool_trajectory_avg_score and
response_match_score against the shared home-automation agent, run via
`adk eval`.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952586163
2026-07-23 01:00:00 -07:00
Haran Rajkumar 6ba41ef35e feat: Add ADK evaluation samples: shared home-automation agent
Start contributing/samples/evaluation/, a family of single-concept samples that
demonstrate ADK evaluation through the `adk eval` CLI over one shared agent.

This first change adds the foundation shared by every sub-sample:

- home_automation_agent/: the shared agent (device-control tools) that all
  sub-samples evaluate.
- README.md: an overview of the family and how each sub-sample is run.

Subsequent changes each add one single-concept sub-sample folder.

Co-authored-by: Haran Rajkumar <haranrk@google.com>
PiperOrigin-RevId: 952558506
2026-07-22 23:53:04 -07:00