Install the SDK
Install the SDK from the package registry rather than cloning the evaluators repository ↗. The published package is versioned, so you can pick up fixes and new evaluators with a standard package update:
@ai-sdk/google and @ai-sdk/openai.
Each evaluator calls the provider it was validated against. Without that
provider’s adapter installed you’ll see
ConfigurationError: To use the <provider> provider, install its adapter.Run an evaluator
Related topics
Supported evaluators
See which evaluators the TypeScript SDK includes, and which API keys they
need.
Configuration
Configure evaluators, including API keys and options.
Evaluation
Understand evaluator input and output fields.
Error handling
Handle configuration, validation, and API errors.