TypeScript
TypeScript Quick Start
Get started with Autoblocks Evaluators in TypeScript.
TypeScript Quick Start
This guide will help you get started with creating and using evaluators in TypeScript.
Installation
First, install the Autoblocks client:
Creating an Evaluator
Let’s create a simple evaluator that checks if a response contains a specific substring:
Using an LLM Judge
For more complex evaluations, you can use an LLM as a judge:
Using Out of Box Evaluators
Autoblocks provides several out-of-box evaluators that you can use directly:
Running Evaluations
You can run evaluations using the test suite: