Skip to main content
The SDK provides specific error types to help you handle different scenarios.
example.py

EvaluatorError

Evaluators can throw 3 types of EvaluatorErrors:

APIError

APIErrors can be broken down further into more specific error types:

Retries

Every EvaluatorError 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.

Quickstart

Install the SDK and run your first evaluator.

Configuration

Configure evaluators, including API keys and options.

Outputs

Understand evaluator output fields and types.