Expand description
Field types, definitions, and values for structured LLM prediction.
Structs§
- Field
Def - A top-level field definition within a
Signature. - Media
Value - A media field value. Carries the
MediaSource(where the bytes come from) and a duplicatekinddiscriminator so consumers can switch on the modality without inspecting the source. - Object
Field - A field within an
Objecttype. - OneOf
Discriminator - Discriminator hint for a tagged
OneOf. - Variant
Arm - One arm of a
OneOforAnyOf.
Enums§
- Field
Kind - Whether a field is an input or output of a signature.
- Field
Type - The type of a field in a signature.
- Field
Value - A typed value extracted from an LM completion or supplied as input.