Skip to main content

Structural

Structural metrics are deterministic checks on model outputs (and golden answers where noted): syntax validation (JSON, Python, SQL, XML), schema conformance, readability and overlap scores, type and format checks, counts, and equality against a reference. They do not use an LLM for scoring. Each page lists its shortname, fields, and an example payload (and optional metric_args when the metric supports them).

Metrics

The same pages appear under Structural in the docs sidebar: