adk_eval_builtin_metric (erlang_adk v0.10.0)

View Source

First-party operational, safety, cost, and semantic eval metrics.

All inputs are bounded before traversal and every result is a normalized 0..1 score with content-free metadata. The metric never calls a provider; LLM-backed semantic judging belongs in adk_eval_llm_judge or an ensemble.

Summary

Functions

score(Expected, Actual, Context, Config)

score_case(Input, Config)

validate_config(Config)

-spec validate_config(map()) -> ok | {error, term()}.