Skip to main content

Module field

Module field 

Source
Expand description

Field types, definitions, and values for structured LLM prediction.

Structs§

FieldDef
A top-level field definition within a Signature.
MediaValue
A media field value. Carries the MediaSource (where the bytes come from) and a duplicate kind discriminator so consumers can switch on the modality without inspecting the source.
ObjectField
A field within an Object type.
OneOfDiscriminator
Discriminator hint for a tagged OneOf.
VariantArm
One arm of a OneOf or AnyOf.

Enums§

FieldKind
Whether a field is an input or output of a signature.
FieldType
The type of a field in a signature.
FieldValue
A typed value extracted from an LM completion or supplied as input.