Skip to main content

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 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:

Next Steps