Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Grader Models

ModelsExpand Collapse
type GraderInputs []GraderInputUnion

A list of inputs, each of which may be either an input text, output text, input image, or input audio object.

type LabelModelGrader struct{…}

A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.

type MultiGrader struct{…}

A MultiGrader object combines the output of multiple graders to produce a single score.

type PythonGrader struct{…}

A PythonGrader object that runs a python script on the input.

type ScoreModelGrader struct{…}

A ScoreModelGrader object that uses a model to assign a score to the input.

type StringCheckGrader struct{…}

A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.

type TextSimilarityGrader struct{…}

A TextSimilarityGrader object which grades text based on similarity metrics.