Sequence
Overview
An Sequence
is a unit of data in judgeval
that allows you to run agentic evaluations on your LLM system.
An Sequence
is composed of a list of Examples
and/or nested Sequences
.
Here’s a sample of creating a Sequence
:
Sequence Fields
Here are the fields that can be used to create a Sequence
:
Name
The name
field is the name of the Sequence.
Inputs
The inputs
field is mainly used when exporting a Trace
from the Judgment platform into a Sequence
. It represents a functions inputs.
Outputs
The outputs
field is mainly used when exporting a Trace
from the Judgment platform into a Sequence
. It represents a functions outputs.
Items
The items
field is a list of either Examples
or nested sequence objects. Here is an example of a nested sequence:
With nested sequences, you have the ability to group multiple examples and sequences together to give you more flexibility in how you can evaluate your LLM system.
When defining nested sequence objects, the scorer at the top level will be applied to the entire Sequence and all nested Sequences within it. Find a list of all our agentic scorers here.