Module schema

Module schema 

Source
Expand description

Schema definitions and abstractions for structured prompt outputs.

Structs§

Constraint
Represents a constraint for model output decoding
FormatModeSchema
Generic schema for providers that support format modes (JSON/YAML)

Enums§

ConstraintType
Enumeration of constraint types

Constants§

EXTRACTIONS_KEY
Shared key for extraction arrays in JSON/YAML

Traits§

BaseSchema
Abstract base trait for generating structured constraints from examples