example.py
EvaluatorError
Evaluators can throw 3 types of EvaluatorErrors:
APIError
APIErrors can be broken down further into more specific error types:
Retries
EveryEvaluatorError exposes a boolean retryable attribute:
To flag a specific instance (e.g., a permanently-bad hostname),
APIErrors and NetworkErrors also accept retryable as an init kwarg. APIErrors with status code >= 500 and an unspecified retryable attribute will default to retryable: True.Related topics
Quickstart
Install the SDK and run your first evaluator.
Configuration
Configure evaluators, including API keys and options.
Outputs
Understand evaluator output fields and types.