Examples of evaluations in Laminar
1. Define an executor function
2. Define an evaluator function
3. Define data and run the evaluation
ts-node my-eval.ts
or npx lmnr eval my-eval.ts
.1. Prepare your data
data
into target
prior to running the evaluation.The data may look something like the following:2. Define an executor function
3. Define an evaluator function
4. Run the evaluation
ts-node my-eval.ts
or npx lmnr eval my-eval.ts
.target
to your evaluator functions.target
field. For example: