invariance_eval_scorer_create
Create a named evaluation scorer to map output and expected pairs to a 0..1 score using built-in kinds like exact_match or numeric_tolerance.
Instructions
Register a scorer (named scoring rule that maps an output+expected pair to a 0..1 score). Built-in scorer kinds: exact_match, contains, numeric_tolerance, json_match, levenshtein.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | CreateEvalScorerRequest as a JSON object string. Required: name, kind. Optional: config (object — kind-specific, e.g. {"tolerance":0.1} for numeric_tolerance). Example: {"name":"refund-exact","kind":"exact_match"} |