example.ts
Errors
All errors extendEvaluatorError and expose a boolean retryable flag.
EvaluatorError, EvaluationError, and DependencyError are abstract. The SDK always raises a concrete subclass.
DependencyError
Describes which external system failed:
InputValidationError
Graphics evaluators run several checks on each image before any model call:
An image that fails a check raises an
InputValidationError, which includes a message that names the input and its position:
Related topics
Quickstart
Install the SDK and run your first evaluator.
Configuration
Configure evaluators, including API keys and options.
Evaluation
Understand evaluator output fields and types.
Batch evaluator
Evaluate a batch of text from a CSV file using Text Complexity evaluators.