Skip to main content

Attributes

Literal['string', 'boolean', 'integer', 'number']
JSON schema type of the field — one of string, boolean, integer, or number.
NotRequired[list[str]]
For string fields, the list of allowed categorical values.
NotRequired[str]
Instructions for the LLM about what to return in this field.
NotRequired[str]
Human-readable title for the field.
NotRequired[OutputFieldTransform]
How to derive this field from the LLM response; only used when llm_response_fields is defined on the CustomJudge.
NotRequired[Any]
Default value used when the field is missing from the LLM response.
NotRequired[float]
For integer/number fields, the minimum allowed value.
NotRequired[float]
For integer/number fields, the maximum allowed value.