JsonSchemaEvaluator(
self,
_: Any = {},
)| Name | Type |
|---|---|
| _ | Any |
An evaluator that validates a JSON prediction against a JSON schema reference.
This evaluator checks if a given JSON prediction conforms to the provided JSON schema. If the prediction is valid, the score is True (no errors). Otherwise, the score is False (error occurred).