A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.
Inputs to the model - can contain template strings. Supports text, output text, input images, and input audio, either as a single item or an array of items.
A text input to the model.
The type of the input item. Always input_text.
Marks the exact end of a reusable prompt prefix. When ttl is omitted, the breakpoint inherits the request’s prompt_cache_options.ttl; the boundary is not rounded to a token block.
A text input to the model.
The type of the input item. Always input_text.
Marks the exact end of a reusable prompt prefix. When ttl is omitted, the breakpoint inherits the request’s prompt_cache_options.ttl; the boundary is not rounded to a token block.
A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.
A TextSimilarityGrader object which grades text based on similarity metrics.